I want to print the address of the char array. When I try to do it I am getting a string output as "ABC" instead of getting address of the char array.
class P
{
public static void main(String [] args)
{
char [] ch = {'A','B','C'};
System.out.println(ch);
}
}