Correct Answer : C
The program written to execute is saved as .java and this is called source code. This is compiled using command javac as javac filename.java which produces bytecode (.class file) which is portable. This bytecode is passed to interpreter for running using the command java as java filename. As this bytecode is portable, Java achieved platform independence. JVM is a part of JRE which runs the program (interpreter). JVM provides a safe runtime environment enabling automated exception handling also.