It looks like you're new here. If you want to get involved, click one of these buttons!
Interfaces is a powerful concept of Java which helps in achieving multiple inheritance to certain extent.
Interface is similar to a abstract class expect that all the methods in it are abstract. We can not include the method body for any of the methods in interface i.e. we can not define concrete methods in interface. The other differences between interface and class are explained in Interfaces Vs Abstract Classes.
The syntax for creating an interface is
For more details and practice programs please follow the link.