Examveda
Examveda

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

A. Method

B. Classes

C. Interfaces

D. Classes and Interfaces

Answer: Option B

Solution(By Examveda Team)

The behaviour of the instance of a class is defined by the class and is shared by all instances.

Join The Discussion

Related Questions on Classes and Modules

The property of JSON() method is:

A. it can be invoked manually as object.JSON()

B. it will be automatically invoked by the compiler

C. it is invoked automatically by the JSON.stringify() method

D. it cannot be invoked in any form