Ok, the compiler and VM make it seem like the main class which contains the main method does not need to be public. However, the VM also accepts:
private static void main(
String[] args)
I know that this is just a bug, for "private main", but what about "class" with no public modifier? If a class has default accessibility, can it be used as the main application class?