Prototype-based inheritance in JavaScript is an example of _________ inheritance, as opposed to class-based inheritance.

  • Single
  • Multiple
  • Hierarchical
  • Object
JavaScript uses prototype-based inheritance, where objects can inherit properties from other objects, forming a hierarchical chain of prototypes. This is different from class-based inheritance systems.
Add your answer
Loading...

Leave a comment

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