Sorry to hijack this
thread, but since the original poster's question was about something no one would ever use, and not on the exam anyway, I thought I'd respond to a comment that
is relevant to the exam:
[Junilu]: This may interest you: Class Literal. This is used primarily when invoking methods using reflection but as far as I know, it is not part of the requirements for SCJP. As a matter of fact, class literals
can appear on the 5.0 exam. They are of interest in relation to synchronization - it's useful to understand that a static synchronized method is equivalent to a static method with a synchronized block, if that block acquires a lock on the Class instance for whatever class you're in. Which makes it useful to be able to refer to that instance with a class literal. I.e.
is equivalent to
[ December 15, 2005: Message edited by: Jim Yingst ]