package pkg2; public class Foo { protected static class Goo { //protected Goo() {} } }