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

 
 


Dangeti Ramprasad
java what is an interface?
1 Answer(s)      a year 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









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.