Email address:
Password:
SCJP/OCPJP 1.6 certification
Practice Exams and Training

Enum is declared as protected. Why it is legal?

By declaring it protected, you let the subclasses of the Chemistry class access it.

Why do you think it should NOT be legal?

ExamLab © 2008 - 2024