Hi,
I just started to study from your book. In Chapter 1 "Running a Program in One Line" section you say "By contrast, you cannot use this new feature for a single-file program with two classes on it". But did I misunderstand? I tried and it worked with two classes in one file. I didn't give "javac Zoo.java" command. Here is my code:
Command:
-> java Zoo.java myTestArg
Result:
-> myTestArg
Edit:
This was reported as mistake at
https://www.selikoff.net/ocp11-1/