//For compiler generated default constructor, //it has public access if the class is public; otherwise its access mode is default. public class MainClass { public static void main(String[] argv) { MyClass my = new MyClass(); System.out.println(); } } class MyClass { }