Q12
Which of the following access modifiers restricts a method or variable's access to the same package only?
A.
public
B.
protected
C.
private
D.
package-private
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board