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
Answer» A. True, True, False, True
2k
0
Do you find this helpful?
9

View all MCQs in

Java Programming

Discussion

No comments yet