- World's Largest Collection of Interview Questions
Start Your Own website Now
Sponsored Links

Interview Questions
Our Services

Get 9,000 Interview Questions & Answers in an eBook.

  • 9500+ Pages
  • 9000 Question & Answers
  • All Tech. Categories
  • 14 MB Content

    Get it now !!

    Send your Resume to 6000 Companies

    Question :
    What is JVM?
    Category Java Interview Questions
    Rating (0.4) By 1127 users
    Added on 8/8/2005
    Views 3969
    Rate it!

    An abstract computing machine, or virtual machine , JVM is a platform - independent execution environment that converts Java bytecode into machine language and executes it.

    Java Virtual Machine is the one which change the source code in to the code that is executable through the system so that this helps in making the Java Platform independent as this coude is accessible in any of the operating system

    Posted by: Rahul Sehgal    

    Contact Rahul Sehgal Contact Rahul Sehgal

    jvm(java virtual machine)is the compiler of java which convert source code to byte code, which is further intepreted into machine code

    Posted by: deepak srivastava    

    Contact deepak srivastava Contact deepak srivastava

    JVM - Java Virtual Machine.

    JVM consist of following components:-

    1)Byte-code verifier :- It verify the byte-code ,it check's for unusual code.

    2)Class Loader :- After verifying Class Loader will load the byte-code into the memory for execution.

    3)Execution engine :-
    It further consist of 2 parts :-
    a)Interpreter :- It interpret the code & run.
    b)JIT(Just-in-Time Interpreter)
    JVM Hotspot defines when to use Interpreter or JIT.

    4)Garbage Collector:- It periodically check for the object on heap , whose link is broken
    So it can collect the garbage from Heap.

    5) Security Manager :- It constantly monitors the code.It is 2nd level of security.[1st level is Byte-code verifier ].

    Posted by: Kamal Trivedi    

    Contact Kamal Trivedi Contact Kamal Trivedi

    java programs are compiled intoana assembly language for an imaginary machine is called java vortual machine

    Posted by: muneeswari    

    Contact muneeswari Contact muneeswari

    JVM stands for Java Virtual Machine. As the name indicates, it does not a real hardware machine but a software layer which resembles an hardware platform. JVM helps to run java programs on different Operating system platforms. The JVM will be different for different Operating Systems. ie there will be separate JVM for Windows and Linux. Now i am going to explain how Java achieves platform independents with the helps of JVM. We can write the java program on any platform. The source program is then converted to byte code using a Java compiler. The compiler will be different for different platforms. The byte code can be executed on any platform where there exist JVM.

    Posted by: Asif C    

    Contact Asif C Contact Asif C

    JVM stands for Java Virtual Machine. It is the engine that drive the java code. It is the medium which converts java code to bytecode which get translated on different machine and hence it makes it platform/os independent.

    Posted by: Ravi S Singh    

    Contact Ravi S Singh Contact Ravi S Singh

    JVM generates .class file that we can able to run in any OS but it should have a JVM within it.Because JVM is system dependent.

    Posted by: venkatesh    

    Contact venkatesh Contact venkatesh

    jvm stands for java virtual machine.where it converts source code into byte code but these code also not accesable by machine. where jvm play a important role. it converts Byte code to machine code.

    Posted by: jaywant topno    

    Contact jaywant topno Contact jaywant topno

    Java is platform independant because of JVM i.e Java Virtual Machine. As different computers with different oerating system hav their own JVM,when we submit '.class' file to any ooperating system,JVM interprete the bytecode into machine level language.

    Posted by: Leena Patil    

    Contact Leena Patil Contact Leena Patil

    JVM(java virtual machine )is java run time environment(JRE)..which converts byte code(suppose A.JAVA) in to machine languge (A.CLASS) so it can execute on any platform.

    Posted by: ankit kumar     

    Contact ankit kumar Contact ankit kumar

    java virtual machine is a program which is responsible to accept byte code and translates them into machine code for the specific machine on which the java program is running.
    A program of JVM is written into "c language" and JVM is machine virtual machine is also responsible to allocates the necessary memory needed by the java virtual machine is also responsible to deallocate a memory virtual machine is the heart of entire java program execution process.

    Posted by: rajnayan    

    Contact rajnayan Contact rajnayan

    If you have the better answer, then send it to us. We will display your answer after the approval.
    Rules to Post Answers in

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
  • Name :*
    Email Id :*
    Answer :*
    Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
    Process Verification  Enter the above shown code:*
    Inform me about updated answers to this question

    Related Questions
    View Answer
    What is JNI?
    View Answer
    What is JAR file?
    View Answer
    What is garbage collection?
    View Answer
    What is Socket. How will you create a connection?
    View Answer
    What is ServerSocket. How will you create a connection?
    View Answer
    What is DatagramSocket. How will you create a connection?
    View Answer
    What is Synchronisation in threads?
    View Answer
    What is Collection?
    View Answer
    What is JavaMail?
    View Answer
    What is Serialization and Deserialization?
    View Answer
    What is the life cycle of an applet?
    View Answer
    What is Reflection. Uses of Reflection?
    View Answer
    What is the purpose of finalisation?
    View Answer
    What is the functionality of try, catch and finally blocks?
    View Answer
    What is the difference between Abstract class and Interface?
    View Answer
    What is the difference between overloading and overriding?
    View Answer
    What is the difference between Hashmap and Hashtable?
    View Answer
    What is the difference between Vector, Array and Arraylist?
    View Answer
    What is the difference between final, finally and finalized?
    View Answer
    What is the difference between String and StringBuffer?
    View Answer

    Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here - Best Freshers & Experienced Jobs Website.

    View ALL Java Interview Questions

    User Options
    Sponsored Links

    Copyright ©2003-2015, All Rights Reserved.
    Privacy Policy | Terms and Conditions

    Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Dedicated Servers | C Interview Questions & Answers

    Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

    Cache = 0.062012 Seconds