Pregunta de entrevista de Morgan Stanley

How does java use the jvm to compile it's programs?

Respuesta de la entrevista

Anónimo

11 de sept de 2018

The compiler itself works as a native executable (hence javac.exe), it transforms source file into bytecode. The bytecode is platform independent because it's targeted at Java Virtual Machine. then the JVM translates it into machine code.