HI
I am new to java and facing a problem
exception in thread main java.lang.Array IndexOutOfBound sException.
I an trying to a input a no thr cmd for this i have code like this
class enterno
{
public static void main(String args[])
{
int a=Integer.parse Int(args[0]);
System.out.prin tln(" you have entered these values : " + a );
}
}
Plz help me to solve this...
Thanks
I am new to java and facing a problem
exception in thread main java.lang.Array IndexOutOfBound sException.
I an trying to a input a no thr cmd for this i have code like this
class enterno
{
public static void main(String args[])
{
int a=Integer.parse Int(args[0]);
System.out.prin tln(" you have entered these values : " + a );
}
}
Plz help me to solve this...
Thanks
Comment