0
Does Java uses compiler or interpreter as its translator
Java programming
4 Answers
+ 3
I am no expert on Java but I read a things on compiler design and I say the source code is translated to a intermediate code or byte code then this code is executed by the interpreter. I maybe wrong but I think that how it works.
+ 1
Java gets compiled to byte code, which is interpreted by the JVM, but when available and enabled, the byte code will be compiled to native machine code at runtime by the JIT compiler and will not be interpreted by the JVM.