what is the working of JVM when An object is created of a class?

Ads
 

what is the working of JVM when An object is created of a class?

what is the working of JVM when An object is created of a class?

View Answers

December 19, 2011 at 3:53 PM

When the JVM creates the instance of your class object,the object instance is stored in the heap.The non-demon thread executes your methods inside your object instance and finally the non-demon thread is destoryed and the jvm instance is also ended.

Ads









Related Tutorials/Questions & Answers:
what is the working of JVM when An object is created of a class?
what is jvm instance, how is it created, how is related to thread?
Advertisements
What is JVM?
What is the difference between a JDK and a JVM?
What is Light Object Mapping?
What is an object's lock and which object's have locks?
variables are **called instance variables because they are created** whenever an object of the class is instantiated.
JVM
What is difference between JDK,JRE and JVM?
when update is done on parent object child object is also updated
what is mutable and immutable object in java ?difference ?
ModuleNotFoundError: No module named 'classh'
ModuleNotFoundError: No module named 'classh'
What is the purpose of garbage collection in Java, and when is it used?
JVM
JVM
object creation
Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!
JVM
how to set values in object using java and what are the ways?
What are Classes and Interfaces in Java?
Java Virtual Machine(JVM)
Java and jvm related question
object as argument
What happen when we write static public void instead of public static void?
bytecode and JVM.
Object in java - Java Beginners
object
memory areas in jvm
Focus method not working in firefox
Why this is not working...?

Ads