Question: What is an interface?
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