
What is an 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.There are several inbuilt interfaces available in Java which need to be imported and used.
thank you
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.