Single Choice Moderate

QJava source code is converted into:

ID: #25837 MCQ Quiz - Class 8 - Programming 6 views
Question Info
#25837Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Bytecode
  • B Machine code directly
  • C Text
  • D Assembly
Correct Answer

Explanation

Correct Answer Explanation:

Java source (.java) is compiled by javac into bytecode (.class files). Bytecode is an intermediate form that runs on any JVM.

Why the other options are incorrect:

  • Option B: Java compiles to bytecode first, not directly to machine code (Java's platform independence).
  • Option C: Source code IS text already; compilation produces bytecode.
  • Option D: Assembly is a low-level language; Java skips it and produces bytecode.

Share This Question

Challenge a friend or share with your study group.