
what the use of interface?

An interface is one which has abstract methods(not defined just declared)and static or non static variables.Any class can implement(inherit)the interface and make use of the methods(functions) and variables within it.
In java, multiple inheritance is achieved by using the interface (by implementing more than one interface at a time)
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.