FileDocCategorySizeDatePackage
ProtectedClass.javaAPI DocExample261Sat Nov 25 12:55:46 GMT 2000foo

ProtectedClass.java

/** Can you have such a thing as a protected class?
 */
package foo;

import java.util.Date;

protected class ProtectedClass {		// EXPECT COMPILE ERROR
	public static void main(String[] a) {
		System.out.println("It seems you CAN have a protected class");
	}
}