R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which access modifier is the most restrictive?

  • (A) protected
  • (B) default
  • (C) public
  • (D) private
  • Correct Answer - Option(D)
  • Views: 5
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`private` restricts access to within the same class only.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.