+ 1
What is interface
tell
3 Antworten
+ 2
interface are a special kind of class.
Java doesn't not support multiple heritage, but you can implements any number of interfaces.
Interfaces are abstract class (they are not implemented).
+ 1
interface automatically makes class/methods abstract.
u can search for abstract keyword @ oracle website.
0
Interface is like a contract, you define the methods and properties and ask the classes that implement this 'contract' that also have all methods and properties.