This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Java in General and the fly likes classloader Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "classloader" Watch "classloader" New topic
Author

classloader

siddharth das
Ranch Hand

Joined: Aug 17, 2007
Posts: 124
hi,
classloader is responsible for loading the class before creating the object of that class.
and jvm does this automatically..
but if we want to load a class ourselves,then we have to create a class that extends java.lang.ClassLoader class.

can you give an example with code,how it happens.
and i want to know in which case,we load the class ourselves.
please suggest me.
Thank You!
 
 
subject: classloader