FileDocCategorySizeDatePackage
StaticNestedClassDemo.javaAPI DocExample1061Sun Dec 14 22:47:36 GMT 2003oreilly.hcj.nested

StaticNestedClassDemo

public class StaticNestedClassDemo extends Object
Demonstrates Static nested Classes.
author
Robert Simmons jr. (kraythe)
version
$Revision: 1.3 $

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

param
args Command line arguments.

		OuterClass.SomeClass obj = new OuterClass.SomeClass();
		obj.someMethod();
		// OuterClass.SomeOtherClass prot = new OuterClass.SomeOtherClass(); // <= Compiler error
		OuterClass.doPrivate();