Hi! I've found an error in
Java OCP 8 Programmer II Study Guide Chapter 2 Question 12, and I couldn't find any info about this error on the forum or errata list. I'm sorry in advance, if I didn't search well.
There are two public types in question code:
But the given correct answer (C. Compiler error on line x1.) would be really correct only if some of the types weren't public. I chose the answer D. Compiler error on a different line.
Best regards and thanks a lot again for the great book.