Class Code (What You Type) class Foo { } Compiler Generated Constructor Code (in Bold) class Foo { Foo() { super(); } } Class Code (What You Type) class Foo { Foo() { } } Compiler Generated Constructor Code (in Bold) class Foo { Foo() { super(); } } Class Code (What You Type) public class Foo { } Compiler Generated Constructor Code (in Bold) public class Foo { public Foo() { super(); } }