Hi guys, I hope you're doing well.
On the chapter 1, I guess the section "Answers to review questions" gave wrong for the questions 14 and 16.
For the question 14, it says the right options would be A, B, C and E.
But C doesn't work, once "-cp" has the short form "-c" (--create-file) and would provide also a "-p" that is an invalid argument for the "jar" command.
Regarding 16, it gives me a scenario where I have a file /my/directory/named/A/Bird.java, where my pwd would be /my/directory, and asks me possible package names in case I decided to compile that Bird.java file from the pwd.
Well, actually, with any of options 2(B), 4(D), 6(F) works fine, no compilation fail is raised when invoked;
$ (pwd /my/directory) javac named/A/Bird.java
But the "Answers to review questions" tells that for that question, the right option to be taken would be the 4(D).
Just for information, I'm reading that book (OCP Oracle Certified Professional
Java SE 11 Developer Complete Study Guide) from Safari Books (
https://learning.oreilly.com/library/view/ocp-oracle-certified/9781119619130/)
Warmest regards,