| Author |
Class.forName() significance
|
John David
Greenhorn
Joined: Aug 17, 2006
Posts: 29
|
|
hi folks i want to know the real significance of the method class.forName()? can we use it for load classes other than jdbc ? awaiting for eloberated reply.. thanks
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16487
|
|
Yes. If you want me to elaborate, yes, you can use it to load any class.
|
 |
Rahul Bhattacharjee
Ranch Hand
Joined: Nov 29, 2005
Posts: 2300
|
|
You can use it to create object at runtime , just by the classname.(and offcourse the .class file should be there in the classpath )
|
Rahul Bhattacharjee
LinkedIn - Blog
|
 |
 |
|
|
subject: Class.forName() significance
|
|
|