The concept that allows JavaScript objects to inherit properties and behavior from an object of another class is known as _________.

  • inheritance
  • extension
  • encapsulation
  • polymorphism
The concept that allows JavaScript objects to inherit properties and behavior from an object of another class is known as "inheritance." Inheritance is a fundamental aspect of object-oriented programming and helps in code reusability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *