Examveda
Examveda

The meaning for Augmenting classes is that

A. objects inherit prototype properties even in dynamic state

B. objects inherit prototype properties only in dynamic state

C. objects inherit prototype properties in static state

D. None of the mentioned

Answer: Option A

Solution(By Examveda Team)

JavaScript’s prototype-based inheritance mechanism is dynamic: an object inherits properties from its prototype, even if the prototype changes after the object is created. This means that we can augment JavaScript classes simply by adding new methods to their prototype objects.

Join The Discussion

Related Questions on Classes and Modules