I was experimenting with toCharArray()
and found some strange behavior.
Suppose private static final char[] HEX_CHARS = \"0123456789abcdef\".toCha
Arrays are objects, and its toString methods returns
getClass().getName() + "@" + Integer.toHexString(hashCode())
In your case [C@19821f
means char[] and @19821f
is its hashcode in hex notation.
If you want to print values from that array use iteration or Arrays.toString
method.
`System.out.println(Arrays.toString(HEX_CHARS));`