So, it is not required to use the keyword public when declaring a method in an interface. Interfaces can also have more than one method. Interfaces can also define constants but do not implement methods. An int
Java - Access Modifiers Java - Design Patterns in Java OOPS Concepts Java - OOPS Concepts Java - Characteristics of OOP Java - OOPS Benefits Java - Procedural Vs OOP's Java - Polymorphism Java - Encapsulation Java - Multithreading Java - Serialization Java Operator & Types Java - Operator Java...