I know that java source code will be compiled to bytecode, and JVM will interpret that bytecode and translates it into native machine code for the underlying platform.