Java learning Series | Interface
java
dev.to
what is Interface ? Interface is a reference type of a class that defines contract specifying methods that implementing classes must provide. Interface only has an abstract methods (no method body). Object cannot be created using Interface name. Using implements it connect with the class one class can implements with multiple interfaces. why Interface ? An interface in Java is used to define a strict contract of behaviors (methods) that a class must follow. It specifie