Multiple choice technology

When Java source code is compiled, each individual class is put into its own output file named after the class and using the ______ extension

  1. .h

  2. .java

  3. >java

  4. .class

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

When Java source code is compiled, each class is converted to bytecode and stored in a separate file with the .class extension. This bytecode file contains instructions that the JVM can execute. The filename matches the class name (case-sensitive).