Sunday, September 26, 2010

Summary of Classes

The following table summarizes the classes that comprise the reflection API. The Class and Object classes are in the java.lang package. The other classes are contained in the java.lang.reflect package.
ArrayProvides static methods to dynamically create and access arrays.
ClassRepresents, or reflects, classes and interfaces.
ConstructorProvides information about, and access to, a constructor for a class.
Allows you to instantiate a class dynamically.
FieldProvides information about, and dynamic access to, a field of a class
or an interface.
MethodProvides information about, and access to, a single method on a class
or interface. Allows you to invoke the method dynamically.
ModifierProvides static methods and constants that allow you to get
information about the access modifiers of a class and its members.
ObjectProvides the getClass method.
So on the class basis:
For each of these three types of class components -- constructors, fields, and methods -- see here for more--

No comments:

Post a Comment