QA Stacks

How Java works or Flow of Java execution program..?

HOW JAVA WORKS or FLOW OF EXECUTION OF JAVA PROGRAM
1. First Install Java (JDK) 
2. Secondly Create Java Source File 
3. Compile Source File in CMD (java FileName.java) 
4. Then the source file will be converted to .class file or byte code, which can be understand only by java 
5. Then Run .class file or byte code (java ClassFileName) 
6. This .class file is loaded into memory area in JVM. 
7. Then Interpreter and JIT Compiler executes the .class file.