In page 115, java code is not nicely lined up so it is hard to from readers to read and understand.
Also, there seems typo in same page where '//Do nothing - don't pet cats without being gentle! java'
I believe java should not be there as it is clearly typo.