

McqMate
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 |
View all MCQs in
Java ProgrammingNo comments yet