Multiple choice

After compilation of file Myprog.java, a new file is created with the name ___________.

  1. Myprog.obj

  2. Myprog.cls

  3. Myprog.class

  4. Myprog.exe

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

After compilation of the file Myprog.java, byte code is produced. The file name of this byte code is Myprog.class.