Search Interview Questions | More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. JVM (Java Virtual Machine) is an abstract machine. It is a specification that provides runtime environment in which java bytecode can be executed.JVMs are available for many hardware and software platforms (i.e. JVM is platform dependent).Runtime Instance Whenever you write java command on the command prompt to run the java class, an instance of JVM is createdThe JVM performs following operation:Loads codeVerifies codeExecutes codeProvides runtime environment | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  memory management  jvm Asked in 3 Companies basic   frequent | ||||
Related Questions | ||||
What are different ways to create String Object? Explain. | ||||
Difference between JVM, JRE and JDK ? | ||||
What are various types of Class loaders used by JVM ? | ||||
Explain java.lang.OutOfMemoryError ? | ||||
What are strong, soft, weak and phantom references in Java ? | ||||
Which memory areas does instance and static variables use ? | ||||
Can we call the garbage collector explicitly ? | ||||
Why Java provides default constructor ? | ||||
Can I import same package/class twice? Will the JVM load the package twice at runtime? | ||||
Different types of memory used by JVM ? | ||||