CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Interview Success Kit - 9,000 Interview Que. & Ans.
Covers 9,000+ Interview Questions asked in actual MNC Interviews - all with model answers.
Get Your Dream Job Now - www.vyoms.com
Sponsored Links
Interview Questions
Our Services

INTERVIEW QUESTIONS J2EE JAVA DETAILS
Question :
What is JVM?
Category Java Interview Questions
Rating (3.6) By 30 users
Added on 8/8/2010
Views 2437
Rate it!
Answers:

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
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

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

  • 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 Vyoms.com - Best Freshers & Experienced Jobs Website.

    View ALL Java Interview Questions & Answers

    User Options
    Latest 20 Questions
    What are the different type of networking / internetworking devices?
    What is Protocol Data Unit?
    What are the types of Transmission media?
    What do you meant by "triple X" in Networks?
    What Automatic Repeat Request (ARQ)?
    What are the Data link protocols?
    What are the categories of Transmission media?
    what is the maximum segment length of a 100Base-FX network?
    What is one basic requirement for establishing VLANs?
    What is the role of IEEE in computer networking?
    What is the importance of Encryption on a network?
    What is the use of a default gateway?
    What are gateways?
    What are firewalls?
    How can you identify the IP class of a given IP address?
    What is OSI and what role does it play in computer networks?
    What does 10Base-T mean?
    What are proxy servers and how do they protect computer networks?
    What is the importance of the OSI Physical Layer?
    How does a network topology affect your decision in setting up a network?


    Copyright ©2003-2016 CoolInterview.com, 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 Seconds