Question: Assume we have a Building class and a Room class. A Building contains Rooms and if we delete the Building we must delete the Rooms
Assume we have a Building class and a Room class. A Building contains Rooms and if we delete the Building we must delete the Rooms it contains. We should model as
a Building contains Rooms with a Filled in diamond
b Building contains Rooms with a nonfilled in diamond.
c Room inherits from Building
d none of the above
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
