Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interfaces
Message
De
01/02/2008 14:42:20
John Baird
Coatesville, Pennsylvanie, États-Unis
 
 
À
01/02/2008 14:35:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 8.0
Divers
Thread ID:
01288224
Message ID:
01288279
Vues:
16
>I have been reading about interfaces, and I understand the concept, but my question is "So What?" I just don't see them being helpful other than to enforce standards. Should all of my classes have an interface? What does that gain me?
>
>Implementing interfaces is one way to implement multiple inheritance. Your subclass can inherit both from a superclass and one or more different interfaces.


We have this argument here at work all the time. You can simulate quasi-multiple inheritance using interfaces.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform