MCQ
Which file shall we get if the program compiles successfully?
  • A
    .java
  • .class
  • C
    .obj
  • D
    .exe

Answer

Correct option: B.
.class
.class

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