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, not the method body. It is used to achieve abstraction and multiple inheritances in Java.
To know more about the activities happening to connect us through :
GitHub: https://github.com/RavinderRohit
Instagram: https://www.instagram.com/tapacademy_online
Facebook: https://www.facebook.com/Roomanlearning
Twitter: https://twitter.com/TAPACADEMY1
WhatsApp: 7406355328