The JavaTM Tutorial

| Start of Tutorial > Start of Trail | Search

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 package. The other classes are contained in the java.lang.reflect package.

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

| Start of Tutorial > Start of Trail | Search