Which statement is true about Java byte code?

Which statement is true about Java byte code?
A. It can run on any platform.
B. It can run on any platform only if it was compiled for that platform.
C. It can run on any platform that has the Java Runtime Environment.
D. It can run on any platform that has a Java compiler.
E. It can run on any platform only if that platform has both the Java Runtime Environment and a Java compiler.

Download Printable PDF. VALID exam to help you PASS.

4 thoughts on “Which statement is true about Java byte code?

  1. Answer C:

    The bytecode is actually the already compiled java file which has the .class extension. So it can run in any platform that has the runtime environment.

  2. JVM (or compiler) compiles Java source code into bytecode.
    However this question is about the following step: The system needs JRE in order to interpret the bytecode and run it on the system.
    So the correct answer should b C.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.