posted 18 years ago
A common example of its use is a program that opens up and
reads a "configuration file" (often XML) that contains class names.
The program can use Class.forName(str).newInstance() to instantiate
these classes. Such a program can be configured by editting this
file, without the need to recompile the program.
There is no emoticon for what I am feeling!