JAVA compiler translates source code into __________.

2021

JAVA compiler translates source code into __________.

Answer: C. byte codeUnlike many other languages that compile directly into machine-specific code, Java uses a two-step process to ensure portability across different operating…

  1. A.

    symbolic code

  2. B.

    assembly code

  3. C.

    byte code

  4. D.

    high language code

Attempted by 951 students.

Show answer & explanation

Correct answer: C

Unlike many other languages that compile directly into machine-specific code, Java uses a two-step process to ensure portability across different operating systems.

  • Source Code to Bytecode: The Java compiler (javac) takes your human-readable .java files and translates them into Bytecode (stored in .class files).

  • Platform Independence: This bytecode is not specific to any particular processor. Instead, it is designed to be executed by the Java Virtual Machine (JVM).

  • Execution: The JVM then translates the bytecode into the actual machine code of the specific device you are using (Windows, Mac, Linux, etc.).

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…