public class Sum {
public static void main(String args[])
{
int x,y,s;
x=Integer.parseInt(args[0]);
y=Integer.parseInt(args[1]);
s=x+y;
System.out.println("sum " +s);
}
}
i wanted to print the sum of two number using command line agument ..but it showing some error :-Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0....