Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

When class is loaded (means)  RSS feed

 
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
Sheriff
Posts: 24217
38
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
Boost this thread!