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?
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?
object creation
Want to add a resource in the build directory that's created when i run an mvn assembly:assembly command. Pls help!
What is the difference between a JDK and a JVM?
how to set values in object using java and what are the ways?
What is difference between JDK,JRE and JVM?
What are Classes and Interfaces in Java?
What happen when we write static public void instead of public static void?
object
Object in java - Java Beginners
Why this is not working...?
Java Object
object as argument
UITapgesturerecognizer not working
JVM
What is Transient variable in Java
Array example
StandardServiceRegistryBuilder not working in Hibernate 4.3.1
hibernate.archive.autodetection not working
Focus method not working in firefox
JDBC Prepared Statement Example
html dropdown not working firefox
what is instance
what is instance
what is instance
what is instance
what is instance
ModuleNotFoundError: No module named 'Classy'
Java Example program to get the current working directory
Datagrid not working
getElementById not working
Code not working
ORDAudio object in servlet
Dynamic-update not working in Hibernate.
JQuery-JSP AJAX example not working
Update not working in hibernate.
Comparing arrays not working correctly?
JVM
Problem In applet Its run on browser but hang and blinking when image is draging some where.
View object in JSF

Ads