Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Interview-Questions java what is an interface?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Dangeti Ramprasad
java what is an interface?
1 Answer(s)      2 years and 8 months 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



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com