Java MCQ: What is the extension of compiled Java classes?
a) .js
b) .class
c) .java
d) .exe
Answer:
b) .class
Explanation:
Compiled Java classes are stored in files with the .class
extension. These files contain bytecode, which can be executed by the Java Virtual Machine (JVM).
Reference links:
https://www.rameshfadatare.com/learn-java-programming/
https://www.javaguides.net/p/java-tutorial-learn-java-programming.html