GuidePedia

4





JAVA VIRTUAL MACHINE


Java virtual machine is a software that works on a machine that is installed on any computer that interpreter class files.JVM creates the environment on the machine. JVM creates an environment for the interpreter for bytecode  .JVA Interpreter the bytecode and according to the machine, the code generates the machine.JVM is an abstract machine that provides the run time environment in which the bytecode can be JVM plays an important role in making the Java portable.it provides the layer of abstraction between the compiled java program and the hardware platform and the operating system.

HOW TO WORK JAVA PROGRAM.


PROGRAM↔COMPILED---BYTECODE---JVM—INTERPRETER----MACHINE CODE
When the JVM program compiled.  it generates the  bytecode and bytecode is class files it is independent and after create bytecode JVM interpreter the bytecode and generate the machine code.

.Operations in java program
  • Loads the code
  • Verifies the code
  • Execute the code
  • Provide the runtime environment.
  • How to JVM works


How to loads the class(class loader)

It loads the class files.THREE kinds of the class loaders one is bootstrap and the other is an extension and another one is application. Bootstrap loads the (art.jar files) and extension  it loads the classes and libraries from the extension folder and system/application lads the class from where you set  the classpath when writing the java program.

RELATED POST.

Nested if else statement
If else statement in java
If statement in java
A simple program in java for begnners
 System.out.printin() in java
Public static void main ( String args[] ) in java program.
The basic structure of the java program.
Data types in java with examples(write and video tutorial
what is JVM(java virtual machine) java 8 features
What is Java programming and java history

Post a Comment

  1. Since every one of the varieties of video poker depend on the conventional poker hand positioning standards, it is a smart thought to hone your abilities at this game first. machine learning course

    ReplyDelete
  2. Great For Online Shopping in Pakistan Please visit here https://theroyalstore.com.pk

    The Royal Store

    ReplyDelete
  3. It was wondering if I could use this write-up on my other website, I will link it back to your website though.Great Thanks. Kopar at Newton at Newton MRT Station

    ReplyDelete

THANKS FOR COMMENT

 
Top