Home » JAVA Programming » Interfaces » Question
  1. Which of the following access specifiers can be used for an interface?
    1. Public, protected, private
    2. Protected
    3. Private
    4. Public
    5. None of these
Correct Option: B

Interface can have either public access specifier or no specifier. The reason is they need to be implemented by other classes.



Your comments will be displayed only after manual approval.