[Index of weekly notes, Previous week, Next week, All Notes]

ILS 614 (Winter 96/Weymouth)

Week 3: Detials (Version 1)

Oh man.... I am behind.... please be patient.
I need three links for class: Assignment: The assignment for this week is due at the start of class next week, on Thursday, Febuary 1, 1996.


Assignment

For the third mini-assignment. I want you to modify the gometric object classes so that they compute the area and the parimeter of the object and put limits on the size of the objects. Specificially, add a method int area() that returns the area of the object and a method int parimeter() that returns the parimeter of the object. The area of the square and rectangle is height*width and the parimeter is 2*(height+width). The area of the circle is pi*r*r (pi-r-squared) and the parimeter is 2*pi*r. Pi is


The url of this page is: http://www.sils.umich.edu/~weymouth/java/class/lectureNotes/lectureNotes03.html
Last modified on January 18, 1996.
Report spelling errors, corrections, sugestions, and additions to Terry E Weymouth.
weymouth@umich.edu