public class StringExp
{
public static void main(String[] args)
{
String[] a = {1,2,3,3};
String[] b;
System.out.prin tln(a);
}
}
it gives the error while compiling :
the errors is of incompatible types, can any one tell me whether we can have the string as an array if yes then how to initialize it...
{
public static void main(String[] args)
{
String[] a = {1,2,3,3};
String[] b;
System.out.prin tln(a);
}
}
it gives the error while compiling :
the errors is of incompatible types, can any one tell me whether we can have the string as an array if yes then how to initialize it...
Comment