Examveda
Examveda

The object whose properties are inherited by all instances of the class, and properties whose values are functions behaving like instance methods of the class, is

A. Instance object

B. Constructor object

C. Destructor object

D. Prototype object

Answer: Option D

Solution(By Examveda Team)

The properties of the prototype object are inhertied by all instances of the class, and properties whose values are functions behave like instance methods of the class.

This Question Belongs to Javascript >> Classes And Modules

Join The Discussion

Related Questions on Classes and Modules