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?

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 Light Object Mapping?
variables are **called instance variables because they are created** whenever an object of the class is instantiated.
What is an object's lock and which object's have locks?
What is the difference between a JDK and a JVM?
when update is done on parent object child object is also updated
ModuleNotFoundError: No module named 'classh'
ModuleNotFoundError: No module named 'classh'
what is mutable and immutable object in java ?difference ?
What is the purpose of garbage collection in Java, and when is it used?
Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!
What is difference between JDK,JRE and JVM?
object creation
how to set values in object using java and what are the ways?
JVM
What are Classes and Interfaces in Java?
JVM
JVM
What happen when we write static public void instead of public static void?
object
JVM
Object in java - Java Beginners
object as argument
Java Object
Why this is not working...?
Java Virtual Machine(JVM)
UITapgesturerecognizer not working
What is Transient variable in Java
StandardServiceRegistryBuilder not working in Hibernate 4.3.1

Ads