How does JRE works? What is the execution flow of java program?

Java runtime Environment (JRE) is part of JDK. It consists of the Java Virtual Machine (JVM), core classes, and supporting libraries. Consider a source Sample.java, Compiler converts it into byte code as Sample.class. At run time, Sample.class file loaded into Class loader and Byte code verification will be done in class loader subsystem. Verified byte code …

How does JRE works? What is the execution flow of java program? Read More »