Public access specifiers - Java

Q.  Which access specifiers can be used for a class so that it’s members can be accessed by a different class in the different package?
- Published on 20 Jul 15

a. Private
b. Public
c. Protected
d. None of the above

ANSWER: Public

Post your comment / Share knowledge


Enter the code shown above:
 
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)