MCQ
Which of the following must have the same name as class name ?
  • A
    Object
  • Constructor
  • C
    Void
  • D
    Instance

Answer

Correct option: B.
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