Which of this access specifies can be used for a class so that its members can be accessed by a different class in the same package?
A. Public
B. Protected
C. No Modifier
D. All of the mentioned
Answer:A
Which of this access specifies can be used for a class so that its members can be accessed by a different class in the same package?
A. Public B. Protected C. No Modifier D. All of the mentioned
Explanation: Either we can use public, protected or we can name the class without any specifier.