File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes When class is loaded (means) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "When class is loaded (means) " Watch "When class is loaded (means) " New topic

When class is loaded (means)

Shivit Agarwal
Ranch Hand

Joined: Feb 28, 2008
Posts: 82
What does it really mean when class is loaded ??

What does the statement reference to ?? runtime ??

Have the determination of mirror which never fails to reflect in spite of being broken into pieces.<br /> <br />Kiss the hands you cannot bite.<br /> <br />An Optimist is one who starts taking a bath when he accidentally falls into the water.
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

"Loading a class" is what happens when the JVM finds a class definition (for example, a *.class file on disk or inside a *.jar file), reads it into memory, and creates the data structures inside the JVM to represent that class and allow instances of the class to be created.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: When class is loaded (means)
It's not a secret anymore!