This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Class.forName vs Class literal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Class.forName vs Class literal" Watch "Class.forName vs Class literal" New topic
Author

Class.forName vs Class literal

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
Hi all,

Whats the difference between what a
Class Literal does and the method..Class.forName(...) does..?

Where do we make use of them...?

Tx
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
You could not do this with a literal class.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class.forName vs Class literal
 
Similar Threads
The .class property
Problem while playing with Reflection
Class.forname
keyword "class" as in "ABC.class"
Class litral ??