MCQ
When the main method is called in Java program?
  • A
    When the variable is executed
  • B
    When the class is created
  • C
    When the data is declared
  • When the class is executed

Answer

Correct option: D.
When the class is executed
D

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