FileDocCategorySizeDatePackage
PrimsDotClass.javaAPI DocExample352Sun Mar 07 13:00:08 GMT 2004None

PrimsDotClass

public class PrimsDotClass extends Object
Show that you can, in fact, take the .class of a primitive.

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

		Class c = int.class;
		System.out.println(c.getName());
		Method[] methods = c.getMethods();
		System.out.println(c.getName() + " has " + methods.length + " methods");