My Blog
—
by
Know when to use inheritance and when to use composition. Inheritance is useful for “is-a” relationships, while composition is more suitable for “has-a” relationships.
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Leave a Reply