This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Originally posted by James Carman: I don't know that it's really that big of a deal if it's private, do you? It seems obvious that it should be public, though.
Yes, it certainly makes sense that it's required to be public. But because it's an "entry method," it seems a bit on the fringe, so I don't know how big of a deal this might be.
In other words, the initial call to main is not coming from another object, or even a static method of another class. So in this special case, since we're telling to JVM to load the class and invoke main, might we even consider this a de facto call from within the same class?