This is the "class literal" as documented in section 15.8.2 of the Java
Language Spec 2.0
(http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#251530).
Here is the definition as lifted from the JLS:
15.8.2 Class Literals
A class literal is an expression consisting of the name of a class,
interface, array, or primitive type followed by a `.' and the token
class. The type of a class literal is Class. It evaluates to the
Class object for the named type (or for void) as defined by the
defining class loader of the class of the current instance.
=Spencer
Jason Kilgrow wrote:
>I'm not sure what it is you are getting from "Test.class". It must be a type Class
>but I don't see where the "class" property is documented.
>What version of the jdk are you using?
>
>
To change your membership options, refer to:
http://www.sys-con.com/java/list.cfm