Which Among The Following Is True For Static Constructor #130
Which among the following is true for static constructor?
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.
Which among the following is true for static constructor?
Static constructors are called with every new object
Static constructors are used initialize data members to zero always
Static constructors can’t be parameterized constructors
Static constructors can be used to initialize the non-static members also