FileDocCategorySizeDatePackage
SuperclassInfoDemo.javaAPI DocExample1419Sun Dec 14 22:47:30 GMT 2003oreilly.hcj.reflection

SuperclassInfoDemo

public class SuperclassInfoDemo extends Object
Demonstrates getting immediate superclass info.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)
Demon method.

param
args Command line arguments.

		System.out.println("JDialog --|> " + JDialog.class.getSuperclass());
		System.out.println("Integer --|> " + Integer.class.getSuperclass());
		System.out.println("Object --|> " + Object.class.getSuperclass());
		System.out.println("int --|> " + int.class.getSuperclass());
		System.out.println("int[] --|> " + int[].class.getSuperclass());
		System.out.println("Set --|> " + Set.class.getSuperclass());
		System.out.println("Comparable --|> " + Comparable.class.getSuperclass());