本帖最后由 根号5 于 2012-4-22 23:09 编辑
我看的API是这样写的 难道我理解错了?求解释 岳老师,刘老师 JDK1.6文档
Instances of the class Class represent classes and interfaces in a running Java application. An enum is a kind of class and an annotation is a kind of interface. Every array also belongs to a class that is reflected as a Class object that is shared by all arrays with the same element type and number of dimensions. The primitive Java types (boolean, byte, char, short, int, long, float, and double), and the keyword void are also represented as Class objects.
|