- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: What is JVM?

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

Category Java Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.3) By 1209 users
Added on 8/8/2010
Views 11901
Rate it!
Question: What is JVM?

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

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

Answered by: Rahul Sehgal | Date: | 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 Source:

Answered by: deepak srivastava | Date: 2/28/2009 | 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 ].


Answered by: Kamal Trivedi | Date: 4/27/2009 | Contact Kamal Trivedi Contact Kamal Trivedi

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

Answered by: muneeswari | Date: 6/12/2009 | 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. Source:

Answered by: Asif C | Date: 8/12/2009 | 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. Source:

Answered by: Ravi S Singh | Date: 9/19/2009 | 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. Source:

Answered by: venkatesh | Date: 9/24/2009 | 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. Source:

Answered by: jaywant topno | Date: 9/28/2009 | 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. Source:

Answered by: Leena Patil | Date: 10/6/2009 | 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. Source:

Answered by: ankit kumar | Date: 11/11/2009 | 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

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

Post your answer here

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 & Answers - Exam Mode / Learning Mode

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.859375 Seconds