File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
difference between creating instance of a class and using class.forname()
Joined: Apr 11, 2008
Nov 30, 2008 05:28:00
can anyone tell difference between creating instance of a class and using class.forname()
Joined: Mar 02, 2005
Nov 30, 2008 06:54:00
Class.forName() will get you a Class object and not an instance of the class as is the case using the new operator.
Joined: Oct 13, 2005
Nov 30, 2008 08:15:00
"sdg amlock" please read the important administrative private message I have just sent you.
I agree. Here's the link:
subject: difference between creating instance of a class and using class.forname()
different ways of instantiating
Difference between object and instance
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013