CS 178 Programming with Multimedia Objects
Fall 2004 |
|||||||
Recitation Exercise:
Prepared by: Aditya Mathur. To be completed , as much as possible, in class on Oct 15, 2004. |
|||||||
Learning objectives:
|
|||||||
Complete the following set of instructions to develop a few simple methods. Note that we are NOT writing an applet. Instead, we are writing methods that could be used later inside a Java applet.
Global Array and other declarations:
Write the following methods. 1. findHeaviest method:
2. exchange method:
3. findLarger method:
4. findAverage method:
5. sortWeights method
Last update: October 14, 2004 |
|||||||