Change Contents of the Bubble
Free Iran!

THE CAKE IS A LIE
THE CAKE IS A LIE
THE CAKE IS A LIE
Hotspots Class Schedule Who's Who Office Hours Contact Info Homework Comments
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

UML Practice Question

Answer the questions below about the UML diagram here:

cs1316.JPG

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. List all the fields (instance variables) of a SalariedEmployee.


E. List all the classes whose instances understand the method fire().


F. List all of the instance variables in Person


G. List all of the instance variables in HourlyEmployee


H. List 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