What is an interface?
1 Answer(s)      5 years and a month ago
Posted in : PHP

What is an interface?

View Answers

May 25, 2011 at 11:26 AM

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