Back to the 2019 paper

Module III: Basics of Web Programming

20192m

The Java compiler

(i) creates executable
(ii) translates Java source code to byte code
(iii) creates classes
(iv) produces Java interpreters

Worked SolutionAI Assisted

Correct Answer: (ii) translates Java source code to byte code

Explanation:

  • The Java Compiler (javac) translates high-level Java source code (.java) into platform-independent intermediate Bytecode stored in .class files.
  • The bytecode is later interpreted and executed by the Java Virtual Machine (JVM).
  • Unlike C/C++ compilers, the Java compiler does not generate direct machine-executable binaries (.exe or .out).

Similar questions

Student FinanceWeb Platform

Pocketly — Personal Finance for Students

Keep your hostel and college expenses under control. Track accounts, log spending in seconds, and stay within your monthly budget.