FileDocCategorySizeDatePackage
PackageInfoDemo.javaAPI DocExample1367Sun Dec 14 22:47:32 GMT 2003oreilly.hcj.reflection

PackageInfoDemo

public class PackageInfoDemo extends Object
Demonstrates how to get declaration information on a Class.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

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

param
args Command line arguments.

		System.out.println(Object.class.getPackage());
		System.out.println(Float.class.getPackage());
		System.out.println(Collection.class.getPackage());
		System.out.println(Account.class.getPackage());
		System.out.println(MutableObject.class.getPackage());
		System.out.println(int.class.getPackage());
		System.out.println(String.class.getPackage());