Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Abstract classes useful?
Message
De
03/06/2008 22:19:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/06/2008 08:09:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01320973
Message ID:
01321483
Vues:
16
>Interesting idea. Are you saying here that for instance Java does not have the power to create additional properties and methods and fill or redefine methods in the instance? If that's the case, then our forms and DEFINE CLASS command might as well be regarded as a new child class creator just prior to the real instantiation. If this is a good working model, then using a so-called abstract class directly is a legitimate action in several or all cases.

Ummmm, the problem is, I don't remember that part of Java too well. Nor any part <g>. I supposedly learned it at some point. I think that any behaviour has to be added in subclasses, and then objects are instantiated based on that subclass. I also think that this doesn't diminish the capabilities, you just have to get accustomed to do things a little differently.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform