Multiple choice

Which of the following statements is correct with respect to byte code? A. Byte code is generated by Java compiler. B. Byte code is generated by Java virtual machine.

  1. Only A

  2. Only B

  3. Both A and B

  4. Neither A nor B

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Byte code is always generated by the Java compiler. This byte code is platform independent.