Share on Google+Share on Google+

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

what is an interface?


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


Advertisement null