hi, Java Laguage Specification requires the main method to be declared with the signature public static void main ( String args ) Search the saloon with the key word main and you can find a lot of threads on this. Regards, Kalidas.
Besides being a signature, the 'String' datatype is abstract, allowing you to handle characters and numerics alike. If you want to pass integers at the command prompt, you will have to parse them as follows. [hr size="3" width="50"] [font size =-2] int x =Integer.parseInt(arg[i]) [/font] [hr size="3" width="50"] Here 'arg' is your parameter array and 'i' is the index of the integer parameter. Hope this helps!