Mensaje
De
03/06/2008 22:19:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Foro:
Visual FoxPro
Category:
Programación orientada a Objetos
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
ID de la conversación:
01320973
ID del mensaje:
01321483
Views:
18
>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)
Previous
Responder
Mapa
Ver