Identify the descending order of strict access protection.
Show answerHide answer
Correct answer: (B) Private, protected, package, public
Explanation
Note: the answer key gives (B), but in Java the order from most to least restrictive is private, package (default), protected, public (D). Protected is less strict than package access because it also allows subclasses in other packages.