Dangeti Ramprasad
java what is an interface?
1 Answer(s)      3 years ago
Posted in : Java Interview Questions

what is an interface?

Advertisement
View Answers

May 7, 2012 at 11:17 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.It can be implemented but cannot be instantiated.

For more information, visit the following link:

Java Interface Example