A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Joined: Aug 17, 2006
Dec 03, 2006 22:00:00
hi folks i want to know the real significance of the method class.forName()?
can we use it for load classes other than
awaiting for eloberated reply..
Joined: Oct 14, 2005
Dec 03, 2006 22:21:00
If you want me to elaborate, yes, you can use it to load any class.
Joined: Nov 29, 2005
Dec 03, 2006 23:10:00
You can use it to create object at runtime , just by the classname.(and offcourse the .class file should be there in the classpath )
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Class.forName() significance
what this method do in JDBC?
Hey Map - In Russia . . . . .
Dynamically loading a class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013