Java: Interface
An interface is the blueprint of a class to achieve total abstraction.
Abstract Class: Abstraction (0 to 100%)
Interface: Abstraction (100%)
Points to remember for Interface in Java
Interface in java use interface keyword to declare.
Interface in java allows only abstract methods i.e methods don’t have a body.
Interface in java allows static constants.
Interfacein java supports multiple…
View On WordPress














