Lecture 8
September 18, 2008
Quiz - key
http://www.youtube.com/watch?v=F_bMFVDu9yo
Return Lab 6 and discuss comments on Lab 6
passing objects as arguments to methods
returning objects from methods
the toString method
the stock class
UML diagram
writing an equals method
how to copy an object
aggregation - occurs when an instance of a class is a filed in another class
course class which has: course name, instructor info, textbook info
Programs we wrote or modified in class. Others are in text
14 pages of materials on UML (unified modeling language)
http://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep04/bell/
Homework over weekend: study MetricDemo.java and the UML diagrams in the chapter and determine the meaning of the + and – in the UML diagram and of course look at slides and notes. Probable test on Sept 30th - review during lab on 29th .