public static void main(String arg[ ] ) in java is it fixed?
<p>i was recently asked is public static void main(String arg[]) format of main method is fixed?
can we change it?
can we use main without any one of public static or void ?
if not why it is not hard coded that main(String arg[]) will stand for public static void main(String arg[]) always?  </p>

<p>I was asked this in an exam.</p>

<p>Thanks</p>
