All the methods inside an interface are always public, by default. You cannot specify any other access modifier for them.
All the methods inside an interface are always public, by default. You cannot specify any other access modifier for them.