Taylor Shell wrote:It's printing out the handle
That might not be a handle; it includes the hashcode but that is not necessarily the memory location of the array.
Please check the details of System.out
#print(char[]), because that might print out the contents of the array. Try this sort of code:-
Did you call toString on the array?