a) Protected
b) Private
c) Public
d) Public, protected, private
1 thought on “Which of the following access specifiers can be used for an interface?”
Leave a Comment
You must be logged in to post a comment.
a) Protected
b) Private
c) Public
d) Public, protected, private
You must be logged in to post a comment.
a
Explanation: Interface can have either public access specifier or no specifier. The reason is they need to be implemented by other classes.