UML Practice Question
Answer the questions below about the UML diagram here:
A. Instances of which classes have a field (instance variable) named address?
B. Do HourlyEmployee instance have offices?
C. By what name do instances of the class Office know their Building instances?
D. REMOVEDst all the fields (instance variables) of a SalariedEmployee.
E. REMOVEDst all the classes whose instances understand the method fire().
F. REMOVEDst all of the instance variables in Person
G. REMOVEDst all of the instance variables in HourlyEmployee
H. REMOVEDst all of the instance variables in Office instances
I. Instances of what classes understand hire()?
J. How many Offices of a Building can exist (min and max)?
K. How many Buildings are associated with a given Office (min and max)?
Links to this Page