posted 22 years ago
Modify when there is a problem with the class--bad method signature, import statement wrong, ...
Extend to create a derived class that "is-a" base class (to use the oo terminology), but has variations in the method behavior.
For example, I created a DataClientLocal class that extends the DataClient class. It has the same methods, but instead of accessing the database remotely, it uses local access.
------------------
--glenn