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 8, 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.
Array and other declarations:
For each of the following methods, you will need to decide on the parameter type and the return value type. findAverage method:
findMax method:
findMin method:
sortDist method
Last update: October 6, 2004 |
|||||||