At compile time, java file is compiled by Java Compiler (It does not interact with OS) and converts the java code into bytecode