This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When class is loaded (means)

 
Shivit Agarwal
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
What does it really mean when class is loaded ??

What does the statement reference to ?? runtime ??
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic