chapter 5 answers

Nice.  You could also replace this method by using the stream functionality. E.g.
```java
System.out.printf("After sorting: %s%n", Arrays.stream( toPrint ).collect(Collectors.joining(" ")));
```