MCQ
Which method is invoked automatically with creation of an object ?
  • Instance method 
  • B
    Constructor 
  • C
    Class method 
  • D
    All of the above

Answer

Correct option: A.
Instance method 
(A) Instance method

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free