Java Reflection
By Paul Tremblett, January 01, 1998
With the JDK 1.1 Reflection API, you can not only discover the fields, methods and constructors of loaded classes, but also dynamically manipulate them within the basic security framework. Chris Howard adds a note on the relationship between reflection and JavaBeans.
Dr. Dobb's Journal January 1998: Java Reflection
Java Reflection
By Chris Howard
Dr. Dobb's Journal January 1998
public String methSubtract(int i1, int i2) {
return Integer.toString(i1) + " - " +
Integer.toString(i2) + " = " + Integer.toString(i1 - i2);
}
Example 1: Adding a subtract command.
Copyright © 1998, Dr. Dobb's Journal