Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is polymorphism?
Message
From
26/03/1999 21:32:34
 
 
To
26/03/1999 03:09:52
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00200864
Message ID:
00202656
Views:
20
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
Map
View

Click here to load this message in the networking platform