Java is a programming language created by James Gosling from Sun Microsystems in 1991. The target of Java is to write a program once and then run this on multiple operating systems.
Java >>Data abstraction is the process of hiding certain details and showing only essential information. Abstraction can be achieved with either abstract classes or interfaces.
Abstraction >>An interface in java is a blueprint of a class. It has static constants and abstract methods. The interface in java is a mechanism to achieve abstraction. There can be only abstract methods in the Java interface.
Interface >>Abstract class and interface both are used to achieve abstraction where we can declare the abstract methods. But there are many differences between abstract class and interface.
Interface vs Abstraction >>