File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Class.forName vs Class literal Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 973
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
Problem while playing with Reflection
The .class property
Class litral ??
keyword "class" as in "ABC.class"
Class.forname