The process of an object gaining access to properties and methods of another object through the prototype chain is known as ______.

  • Inheritance
  • Encapsulation
  • Polymorphism
  • Abstraction
The process of an object gaining access to properties and methods of another object through the prototype chain is known as "Inheritance." In JavaScript, objects inherit properties and methods from their prototypes in a chain-like fashion. This allows for code reuse and is a fundamental concept in object-oriented programming.
Add your answer
Loading...

Leave a comment

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