You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?
A.public
B.private
C.protected
D.default access
Answer:D
You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?
A.public B.private C.protected D.default access