Originally posted by Rewa Dev:
...My question is what does it mean by Loading class.
Does it mean specified class gets available to get accessed by other classes.
Another query is :
Loading a class by using forName() nad importing it using import statement is same or not
Importing is very different than loading. An import statement only provides
visibility. In a sense, importing just "opens the door" for use. But nothing is actually loaded -- i.e., walks through that door -- until it's needed.
Note that static code executes when a class loads.