Given a method in a protected class, what access modifier do you us

Loading

โœช Choose the correct option.

Given a method in a protected class, what access modifier do you use to restrict access to that method to only the other members of the same class?

A. final
B. static
C. private
D. protected

Leave a Comment