G
gaurav v bagga
Hi all,
As per the definition i found,
With composition, the part object may belong to only one whole;
further, the parts are usually expected to live and die with the whole.
How to handle this in java, I saw few C++ codes where they handle
deletes of child in destructor, in java should I implement an Inner
Class ???
I'll appreciate if any one can guide me.
regards
gaurav v bagga
As per the definition i found,
With composition, the part object may belong to only one whole;
further, the parts are usually expected to live and die with the whole.
How to handle this in java, I saw few C++ codes where they handle
deletes of child in destructor, in java should I implement an Inner
Class ???
I'll appreciate if any one can guide me.
regards
gaurav v bagga