hello hema,
i've changed ur main(String []) function so that u can call the int version.
-) remember String version of main is the one that is called automayically by the
java runtime when u run a program any other function u need to call explicitly
here is ur program with added code.
public class Test16
{
static String str1="main method with String[]args";
static String str2="main method with int[] args";
public static void main(String[]args)
{
System.out.println(str1);
int a[] = {1,2,3}; ///////********added
main(a); ///////********added
}
public static void main(int[]args)
{
System.out.println(str2);
}
}