CIS 17: Java Programming
Project G
Objective:
To use reflection to display all the public members of a class or interface and to do the same for all of the classes or interfaces in its hierarchy.
- Start with ShowHierarchy.java. The source is available here.
- The program is fully-documented, but all except two of the methods are stubbed off. Your job is to complete those methods.
- The .class file for the complete program is available here. You may have to right-click the link to download it.
- Exercise the program to observe its behavior so that you can judge the performance of your own code. A good test would be java.lang.System.
Submit your work via the CATE form for Project G.
Legend: method/function keyword literal
2007/04/30