A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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 )
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Class.forName() significance
Hey Map - In Russia . . . . .
Dynamically loading a class
what this method do in JDBC?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013