News

Both Arrays.toString(Object[]) and Arrays.deepToString(Object[]) handle null array gracefully, simply returning a String “null”. I tend to use Java Collections far more than I use Java arrays.
The first loop runs through both arrays and finds the length of the longest string in either array. The second loop runs through the arrays again.