Programming Languages Java Objective
Mar 01, 2013

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?

Choose the correct answer:
A) final
B) static
C) private
D) protected
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback