I am studying for a Java certificate and I got a question that I know it could be really basic. However, I am not sure:
Question: Which statement is true about Java bytecode?
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 Java Runtime Environment and Java compiler.
I think (c) is the correct answer, assuming that the Java Runtime Environment is the interpreter.