Methods visibility in interface
Do all methods in an Interface has by default Public visibility mode?
All methods in an interface default to public
.
See Java Language Specification 6.6.1 which states
All members of interfaces are implicitly
public
.
All interface methods ARE public abstract
, all interface fields are public static final
...
see here.