Change Contents of the Bubble
View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

FinalExam Review Spring2006: Interpret the UML

Questions? Answers? Comments? Comments on Questions or Answers?
(Back to Final Exam Review Spring2006)



A) blocked

B) ((FactorySimulation)(this.Simulation)).getFactory()

C) this.Simulation.getAgents()

D) frames

I agree.

why does the second one have to be ((FactorySimulation)(this.Simulation)).getFactory() ?? Why can't it be this.Simulation.getFactory()?

I think Java needs to know exactly what kind of simulation to return.



Link to this Page