java what is an interface?

Ads

 
 

Share on Google+Share on Google+

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

what is an interface?

Ads
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


Ads









Ads

 
Advertisement null

Ads