• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in JavaScript by
Q:

What is prototypal Inheritance?

1 Answer

0 votes
by

Every object has a property called a prototype, where we can add methods to it and when you create another object from these the newly created object will automatically inherit its parent’s property

Related questions

+1 vote
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+1 vote
asked Jul 16, 2019 in JavaScript by Indian
...