edu.pdx.cs399J.examples
Class Reflect
java.lang.Object
edu.pdx.cs399J.examples.Reflect
public class Reflect
- extends Object
This class demonstrates Java's reflection mechanism by loading a
class and then printing out information about its fields and
methods.
- Author:
- David Whitlock
|
Method Summary |
static void |
main(String[] args)
Reads a class name from the command line, loads it and prints out
information about it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Reflect
public Reflect()
main
public static void main(String[] args)
- Reads a class name from the command line, loads it and prints out
information about it.
Copyright © 2000-2009 Portland State University. All Rights Reserved.