wood burning stoves 2.0*
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
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.

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
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 ??