When And How Many Times A Static Constructor Is Called #129
When and how many times a static constructor is called?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Constructors and Destructors - OOPs MCQ: Types of Constructors - Quiz No.1.
When and how many times a static constructor is called?
Created at time of object destruction
Called at first time when an object is created and only one time
Called at first time when an object is created and called with every new object creation
Called whenever an object go out of scope