|
home—info—exams—lectures—labs—hws
Recipe—Laws—lies—syntax—java.lang docs—java.util docs
Customers often want to know, whether a particular Kennel is full of older, wiser dogs, or if it's instead full of young pups. Let's let them ask the Kennel that question directly! We'll go about writing a Kennel method avgAge, which returns the average age of all (the two) Dogs it contains.
home—info—exams—lectures—labs—hws
Recipe—Laws—lies—syntax—java.lang docs—java.util docs
©2007, Ian Barland, Radford University Last modified 2007.Aug.27 (Mon) |
Please mail any suggestions (incl. typos, broken links) to ibarlandradford.edu |