I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.
One of the questions on mock exam 3 has a couple of errors.
The question about public enum Suit and Color (enum within enum question)...
1. Option D states that "Color.Black should be replaced by BLACK on line 2". It should be Color.BLACK in the option.
2. Option E states that "Color enum on line 4 should be declared private". It is already private in the provided example code.
I think that Option E typo could, potentially, affect the answer choice. Either the access modifier in the code or in the option should be changed, to make option E a viable option.
posted 1 year ago
OK, I just "got" option E. It means whether private modifier is necessary or not, not whether it has to be changed. So forget the second error. First typo still remains, and doesn't affect the answer.