Vidyalelo
JavaScript · Q1

Classes And Modules

Programming · JavaScript · question 1

Q1

The behaviour of the instances present of a class inside a method is defined by

A.
Method
B.
Classes
Answer
C.
Interfaces
D.
Classes and Interfaces

Answer: Option B

Solution

Answer: Option B
Solution:
The behaviour of the instance of a class is defined by the class and is shared by all instances.