Package edu.pdx.cs410J.reflect
package edu.pdx.cs410J.reflect
This package contains examples of Java's Reflection API. Reflection
allows programs to dynamically examine objects and the classes that
model.
-
ClassDescriptionThis program uses Java reflection to describe a class, its methods, and fields.This class provides an example of anonymous inner classes.This program reads the name of a class with a zero-argument constructor and uses Java reflection to load and instantiate the class.This
ClassLoader
prints out the name of every class that it (or its parent) loads.This program reads a resource containing the text of the Declaration of Independence and prints it to standard out.