I'm a rookie in Java. I just started it a day before. I don't know whether its a stupid question. Whatever , when i run the below codes , I got
[I@15db9742 as output.
public class array1 {
public static void main(String[] args)
{
int[] arr={1,2,3};
System.out.println(arr);
}
}
what does it mean ? When i create a char array as
char[] c={'a','b','c'};
i got the output as abc
System.out.println(c);
Why i didn't get the o/p as 123
in the above case...
Eager to hear the answer...................