Arrays.toString () usage

In a real project, if you want to print out the contents of the array, directly toString method will only print out the address of the array, so toString method requires the use of Arrays can, which supports its internal implementations seen out to the Senate It can be a long, float, double, int, boolean, byte, object array.

Guess you like

Origin www.cnblogs.com/zhanghangcheng/p/11223455.html