core java
What is Interface In Java and What are its Uses? Example with Program
An interface in Java is a blueprint of a class. which contains static constants and abstract methods. No concrete method or we can say regular method will be there in the Interface. To achieve Interface, java provide us a keyword called implements, same like to achieve abstraction in java, we use the keyword extends. Why […]