Skip to main content

Questions tagged [ooad]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
7 answers
5k views

Inheritance using non-abstract base class

This post is based on the question https://stackoverflow.com/questions/49002/prefer-composition-over-inheritance/11758048#comment15634305_11758048. Some people said - check whether there is “is-a” ...
LCJ's user avatar
  • 987
6 votes
1 answer
77k views

C++ : Association, Aggregation and Composition [closed]

I'm beginning to study OOAD and I'm having difficulty finding a C++ code example that'd illustrate how Association, Aggregation and Composition are implemented programmatically. (There are several ...
Talha5389's user avatar
  • 169
0 votes
2 answers
354 views

Inheritance versus Composition in a business application

I have a training management and tracking system, with a high level structure as follows: We have a Role1, e.g. Manager, Shift-boss, miner, etc. and a Candidate, training for that Role. The role has ...
ProfK's user avatar
  • 512