1 Answer

0 votes

The full form of JVM in java is: JAVA VIRTUAL MACHINE

What is JVM how does it work - JVM Full form

What does JVM mean in terms of computers? 

Java virtual machine is a program which executes the Java code. It helps the computer to convert the programming languages to be compiled into Java bytecode.

Java being a high level language is more readable to humans than the computer, hence JVM is needed so that Java code is understood by the computer too.

Though the compilation leads to consumption of more time when compared to low level language.  

What is JDK (Java Development Kit)?

We have three main packages used for successful implementation of Java programming. These packages are as follows:

  1. JVM (Java virtual machine)

  2. JRE (Java runtime environment)

  3. JDK (Java development kit)

JDK is used by the programmers to execute the Java programme which is to be run by JVM and JRE. It is the package for developing java based software (not running them).

Also Read : What is the full form of PAN in computer?

What are the main tasks of Java virtual machine?

The main tasks of JVM are:

  • Loading of the code

  • Verifying the code

  • Executing the code

  • Providing proper runtime environment to the code

What are the parts of JVM?

The JVM is generally divided into 3 main components.

  1. Class Loader Sub-system: This part of the JVM handles the functionality of java’s dynamic class loading system. When it directs to a class for the first time at runtime, it starts to load, link and initialize the class file. It consists of further 3 other class loader ( bootstrap class loader, extension class loader, application class loader).
  2. Runtime Data Area: All the class level data, static variables, objects and their corresponding variables is stored here. It has 5 other components ( Method area, heap area, stack area, PC registers, native method stacks).
  3. Execution Engine: The execution engine goes through the bytecode and executes it. It is further divided into 3 parts (interpreter, JIT compiler, garbage collector)

What are the advantages of JVM?

  • In any platform that includes JVM, java binaries can work without any modification since the JVM uses same bytecodes.
  • Apart from its general task the JVM can monitor several other sections like sand-boxing, memory management, exception handling, memory safe reference etc.
  • JVM suffers less from malicious activity.

What are the disadvantages of JVM?

  • Few earlier JVM used to interpret every java bytecode which ultimately makes the overall work very slow.
  • You would have to have all the JVM uploaded into your system, even if you do a very small programming.
  • Java objects always exists in heap that has a pointer where the JVM is running. But Java 7 has introduced a system that has 32-bits pointers in 64-bit environments.
  • JVM should be free from errors since if the JVM fails the entire program will fail as well.
Welcome to FullformAtoz.com, where you can ask questions related to Full Forms and receive answers from other members of the community.

Related questions