wood burning stoves 2.0*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Extending vs. Modifying for design choice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Extending vs. Modifying for design choice" Watch "Extending vs. Modifying for design choice" New topic
Author

Extending vs. Modifying for design choice

Sam Stackly
Ranch Hand

Joined: May 04, 2002
Posts: 109
Hi Guys,
I am trying to finish my design choice and now I am dealing with this part (Extending vs. Modifying)
I'd like to have your comments on this part (by the way I didn't used none of those )
As I understand when we need to have a compelled new entity we will extends but if there is some functionality that is really bound to parent class we need to modify? But I guess I need some academic explanation for it,
Thanks again

Sam
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

It took me a while but I found my post from a few days ago. Check here for my response to that question.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Extending vs. Modifying for design choice
 
Similar Threads
Modifying vs. Extending Data class
modifying vs. Extending the Data class
Extending vs Modifying the Data class
Thread vs. Runnable
Aggregation vs. Inheritance