How to change the datatype of the String args[] in Main of java
<p>The default parameter for main() is always (String[] arg).  When i change this to (Int arg) i get a run time error "no such method error". I know the error is caused by changing the parameter. </p>

<p>My question is can I change the parameter from a String array to something else ?</p>

<p>Or i must always use the default, and then cast it to int using Integer.parseInt() !</p>
