Is it correct way of defining the main method as

static void main( String args[]) with out public . what are the implications
of this because when i compile using this it is comping fine and there are
no run time errors too. Can any one help me.

thanks
kal