Sorting algorithms do today when the print out of the integer array is an array address, the online access to find because the output stream System.out is a PrintStream objects, PrintStream println method has multiple overloaded, one of which is public void println (char [] x), direct Print an array of characters, then, unlike int [] array of other, it will call this method to print directly, so you can print out the contents of the array instead of the address
Original link: https: //blog.csdn.net/treeling_/article/details/79717893