There's an interesting reason for that. Since the purpose of an interface is to define a means of exposing functionality (and only that), scoping modifiers don't really apply: in effect, all the internals of an interface are public already. For example, it wouldn't make sense for an interface to specify a private method, since by definition it isn't exposed as a means of accessing functionality. To define it as public is superfluous.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.