ALLInterview.com :: Home Page KalAajKal.com
 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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Functionality of JVM?
 Question Submitted By :: Sumalatha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Functionality of JVM?
Answer
# 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 ?    2 Yes 1 No
Ranganathkini
 
  Re: Functionality of JVM?
Answer
# 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 
platforms.

The use of byte code  enables the java runtime system to 
execute programs much faster.
 
Is This Answer Correct ?    2 Yes 0 No
Shakir Khan
 
 
 
  Re: Functionality of JVM?
Answer
# 3
JVM will convert the byte code to user understandable code.
Provides the services like class loading,garbage collection
 
Is This Answer Correct ?    0 Yes 1 No
Ravikiran
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
which class to use when concatenating strings in a loop. IBM2
What is cloneable interface?  3
How can you eliminate duplicates?  1
What is an Applet ?  2
how can u create the object with out new operator  2
What is the use of ?this??  3
Explain the differences between public, private, protected and static?  1
when we have to use final class in java?  2
methods in Applet?  1
how can u apply shallow cloning and deep cloning to create object? Yash-Technologies1
Can Applet have constructors?  2
what ide u r using and wat version, how wil u build the project etc ?  2
which one the better thread emplemented thread or extended ? Fidelity3
What is light weight component?  3
where is .equals() method and how is it different from == operation <giving some confusing implementation> Is hashing related to these? iFlex3
why to use transient variables when static variables can be used for Serialization  3
What is 'finally' method in Exceptions?  2
What is the use of bin and lib in JDK?  1
how session will be expired ? Satyam1
Name the method that is used to set a TextComponent to the read-only state?  1
 
For more Core Java Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com