posted 7 years ago
10th question in Chapter 2 includes line numbers that mean all of them defined in a single file. One class or interface can be public and others have to be package private in the same file except inner classes. However in this case the file includes three public interface definition and none of them is inner. The question can be corrected by making two of them package-private or omitting line numbers in the question.