:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Java Related >> Java J2EE >> Core Java


 Core Java interview questions  Core Java Interview Questions (1720)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (43)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (195)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (145)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Functionality of JVM?
 Question Submitted By :: Sumalatha
I also faced this Question!!     Rank Answer Posted By  
  Re: Functionality of JVM?
# 1
The JVM is the core of the Java platform and is responsible for:

1. Loading bytecodes from the class files
2. Verifying the loaded byte codes
3. Linking the program with the necessary libraries
4. Memory Management by Garbage Collection
5. Managing calls between the program and the host environment.
Is This Answer Correct ?    52 Yes 7 No
  Re: Functionality of JVM?
# 2
Java sovles the problem of platform independence by using
byte code.Java complier does not produce native executable
code.Instead it produces a special format called byte code.

Byte code is a highly optimized set of instructions
designed to executed by a java runtime system called Java
Virtual Machine(JVM).JVM is an interpreter for byte code.

This interpreter reads or understands the bytecode and
executes the corresponding native machine instructions.

Thus to port java programs to a new platform ,all that
needed is to port the interperter and some of the library
routines.Even the complier is written in java.The byte
codes are precisely defined and remain the same on all

The use of byte code enables the java runtime system to
execute programs much faster.
Is This Answer Correct ?    31 Yes 5 No
Shakir Khan
  Re: Functionality of JVM?
# 3
JVM will convert the byte code to user understandable code.
Provides the services like class loading,garbage collection
Is This Answer Correct ?    6 Yes 22 No
  Re: Functionality of JVM?
# 4
JVM works is only to provide memory and resource allocation
.the conversion of bytecode into machine code is done by
J.I.T(just in time compiler)
if a program is executed on the same machine then the full
resources used by JVM else if on other system then less
resources used by JVM.
Is This Answer Correct ?    2 Yes 5 No
Jitesh Singh
  Re: Functionality of JVM?
# 5
The jvm simply allocates memory for instances and it
provides location name and hashCode for the location.
And it checks is there any change in the program before
loading it into the class loader
Is This Answer Correct ?    5 Yes 0 No
  Re: Functionality of JVM?
# 6
--checks for .class files..
--converts byte code into machine understandable code
--searches for methods to do particular actions with os.
Is This Answer Correct ?    4 Yes 0 No
  Re: Functionality of JVM?
# 7
jvm stands for java virtual translate sourse code
to byte code
Is This Answer Correct ?    4 Yes 7 No

Other Core Java Interview Questions
  Question Asked @ Answers
This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .   3
when System.out.println("") is executed what happens in the back ground?   2
what is features of jdk 1.5? TCS 2
all are saying java doesn't support multiple inheritance but by default Object class is super class for all the user defined classes and we can extend atmost one class so each class can extend more than one class so java supports multiple inheritance?i am confused with this,pls any one explain me.   4
where do you place after you did code in java   2
What is a package?   2
What is the difference between C++ & Java? Syntel 78
what is the replacement method of stop() of thread TCS 8
Definition for connection pooling?   3
what is the difference between Cpp And Java Infosys 15
is there any function in java to make the text to blink?   6
what is meant by UP& DOWN casting in java?   6
For more Core Java Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::