edu.pdx.cs399J.reflect
Class InstantiateClass

java.lang.Object
  extended by edu.pdx.cs399J.reflect.InstantiateClass

public class InstantiateClass
extends Object

This program reads the name of a class with a zero-argument constructor and uses Java reflection to load and instantiate the class.


Constructor Summary
InstantiateClass()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstantiateClass

public InstantiateClass()
Method Detail

main

public static void main(String[] args)


Copyright © 2000-2009 Portland State University. All Rights Reserved.