Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

classloader  RSS feed

 
siddharth das
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!