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?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org
Onion rings are vegetable donuts. Taste this tiny ad: