General information
Category:
Object Oriented Programming
Java interfaces (as well as C++ interfaces) are more an insurance for polymorphism than multiple inheritance (technically, classes don't inherit anything from interfaces). They are only a contract between programmer and compiler that certain methods will be there.
Vlad
>Java interfaces provide a partial solution. They provide a single place to declare the methods that will be supported by a class that impliments the interface, but you have to provide the code for the methods.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only