Which Among The Following Best Describes The Constructors #166
Which among the following best describes the constructors?
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: Execution of Constructor or Destructor - Quiz No.1.
Which among the following best describes the constructors?
A function which is called whenever an object is referenced
A function which is called whenever an object is created to initialize the members
A function which is called whenever an object is assigned to copy the values
A function which is called whenever an object is to be given values for members