The only member accessibility/visibility modifier that can be used with data members and methods of an interface is public.
The public is also the implicit accessibility/visibility modifier for interface members i.e. the members are always implicitly assumed to be public even if we do not use the modifier public.
No comments:
Post a Comment