FileDocCategorySizeDatePackage
NestedClasses.javaAPI DocExample648Sat Oct 26 09:53:50 BST 2002None

A

public class A extends Object
Show various forms of nested classes. Not all nested classes are "inner classes".

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

		new A().print();
	
public voidprint()

		class C {	// local class
		}
		Object d = new Object() {
			// anonymous inner class
		};
		System.out.println("Here are an A, a B, a C, and d.");
		System.out.println(this + " " + new B() + " " +
						new C() + " " + d);
		new B().print();