What is JVM…How it (JAVA) Works….

On a Java virtual machine implemented in software, the simplest kind of execution engine just interprets the bytecodes one at a time.

Another kind of execution engine, one that is faster but requires more memory, is a just-in-time compiler.

the bytecodes of a method are compiled to native machine code the first time the method is invoked. The native machine code for the method is then cached,

As the program runs, the virtual machine compiles to native and optimizes just these heavily used areas.

 

How Java Runs?
 In Java, there are two kinds of methods: Java and native.

A Java method is written in the Java language, compiled to bytecodes, and stored in class files.

A native method is written in some other language, such as C, C++, or assembly

Java methods are platform independent, native methods are not.


Like what you read?
Do you think you have knowledge to fetch Overseas Jobs and Projects?
Register here and start posting...
The following two tabs change content below.
MD Saddam Hussain is a Computer Science graduate from RGTU University and Have Completed Diploma in Pg-WimC from Cdac Acts,pune. During his studies, Saddam carried out a great variety of projects ranging from Hardware to software engineering. He is very keen on front end development especially on mobile technologies.He has worked as a Software Engineer in the Android and iphone Development and currently works as an Android Developer.

Latest posts by Md Saddam Hussain (see all)

How to Integrate Google “No CAPTCHA reCAPTCHA” on Your Website


1 Comment

  1. navedriz1989 says:

    Nice work sirji.

Leave a Reply