R

Ram Sharma • 193.86K Points
Coach

Q. State true or false 
(i) public can only be assigned to class (ii) protected protects a statement 
(iii) protected method is never accessible outside the package 
(iv) friendly variable may be accessible outside class

  • (A) True, True, False, True
  • (B) False, False, False, True
  • (C) False, True, False, False
  • (D) True, False, False, False
  • Correct Answer - Option(A)
  • Views: 141
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics