
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

ITK 179, Fall 2008 Programming Assignment 2, 30 points
The purpose of this assignment is to practice exception handling by using try, throw, catch, and finally in Java.
For IndexOutOfBoundsException and RuntimeException, you can define your own condition to throw the exceptions. This should be done by using throw when certain conditions occur.
Implement this assignment on your Unix account. Put all your works in the directory /ITK179/Asg2 under your home directory. (Note: Unix is case sensitive.) If you decide to do so, you have to change the mode of the directory to readable for every one after the due date, so I can grade your work. You still have to write up a report and submit a hard copy. However, you don’t have to websubmit your programs. You have to keep your work in your account to the end of the semester.
Due: Sep. 17 (Wednesday) ©c Chung-Chih Li P-1/