Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract classes useful?
Message
From
03/06/2008 22:19:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320973
Message ID:
01321483
Views:
15
>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
Reply
Map
View

Click here to load this message in the networking platform