at. I do want to thank you all, for your posts again, THANKS ALOT. I will
going back and reading them again & agaom to get a clearer understanding.
Now I better get back to my revisions.
You are right!
I realize that I use "agregation"
incorrectly! A collection is the
right thing. I would just specified
a little lack in the example, about
"a kind of", etc... for inheritance..
So, I mingle agregation and collection
incorrectly since I never being able to
distinguish them when I used graphical
UML tool.
Do you have a hint about this difference
in UML tool?
jmarc...
"Tom Serface" <tom.nospam@camaswood.com> wrote in message
news:4BEA026B-3A11-45DE-AD98-A6B36C68D306@microsoft.com...
Hi Jean,
I kind of agree with you. A minute or second is not a kind of hour,
but
an hour is a collection of minutes and a minute is a collection of
seconds.
Tom
"jmarc" <jmarc@incursion-voyages.com> wrote in message
news:Lz8Ph.21101$6z3.18672@edtnps82...
I would just add this. In the early days
of my introduction of OO, I learn this
very helpfull thing. The notion of being
and having, to deternine if we can provide
inheritance between some concepts. The
notion of composition and agregation.
A minute, an hour and day can be derived
of from a concept called time. But, if you
effectively care about concept and not retain
just word to say something, an hour is a container
for minutes, and a day, a container for hours.