Input parameters in java
<p>I was wondering why do Java programs take parameters only in the form on Strings from the command line when they are run? I have <a href="http://stackoverflow.com/questions/10183611/using-int-instead-of-string-public-static-void-main-int-args">read</a> that if the parameters are declared as int, it still converts the int into String. Why does this happen? And is there any way to accept only int values from the command line when running a java program?</p>
