JAVA

 

Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!




Difference JDK, JRE and JVM

 

 

JVM (Java Virtual Machine)



JVM stands for Java Virtual Machine. The JVM is the environment in which Java programs execute. It is a software that is implemented on top of real hardware and operating system.

JVM helps the execution of code by –

• Loading the class file. 
• Loading the byte code.
• Performing the garbage collection.




HOW TO JAVA CODE RUNS?

 
 

Class Loader: Part of JVM that loads the bytecode.
Bytecode Verifier: Checks the loaded bytecode are valid and does not violates any rules of security 

Interpreter: Reads bytecode stream then execute the program

*

إرسال تعليق (0)
أحدث أقدم