The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form

Trail: The Reflection API

Lesson: Summary of Classes

The following table summarizes the classes that compose the reflection API. The Class and Object classes are in the java.lang(in the API reference documentation)package. The other classes are contained in the java.lang.reflect(in the API reference documentation)package.

Class Description
Array(in the API reference documentation) Provides static methods to dynamically create and access arrays.
Class(in the API reference documentation) Represents, or reflects, classes and interfaces.
Constructor(in the API reference documentation) Provides information about, and access to, a constructor for a class.
Allows you to instantiate a class dynamically.
Field(in the API reference documentation) Provides information about, and dynamic access to, a field of a class
or an interface.
Method(in the API reference documentation) Provides information about, and access to, a single method on a class
or interface. Allows you to invoke the method dynamically.
Modifier(in the API reference documentation) Provides static methods and constants that allow you to get
information about the access modifiers of a class and its members.
Object(in the API reference documentation) Provides the getClass method.

Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail Search
Feedback Form