Yes, it runs fine and it is perfectly legal. It will run even when you declare the main method as
private!!!
Apparently it was reported to Sun a long time ago and they dismissed it by saying it is not a bug and they are not going fix it.
But remember, for the sake of
SCJP, only
public static void main(String[] whateverYouWantToCallIt ) is the correct signature.
That is the gospel. Ajith
[This message has been edited by Ajith Kallambella (edited August 17, 2000).]