Computer Science, asked by harshal242, 1 year ago

Is JVM a compiler or interpreter?

Answers

Answered by SSU
1

JVM have both compiler and interpreter. Because the compiler compiles the code and generates bytecode. ... Example: Write and compile a program and it runs on Windows. Take the .class file to another OS (Unix) and it will run because of interpreter that converts the bytecode to machine understandable code.

Similar questions