MCQ
What are the default constructors called as ?
  • A
    Empty constructor
  • No-argument constructor
  • C
    Class name
  • D
    Instance variable

Answer

Correct option: B.
No-argument constructor
B

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