Lab Exception Handling PDF
Lab Exception Handling PDF
Run the program three times, noting the number of good and bad results:
Comment out the existing content of main() and add a call to throwOne() plus a call to s.o.p to
indicate a normal end-of-job:
2b. Run your program again. Now what is the output? _______________________________
_____________________________________________________________________________
_____________________________________________________________________________
3a. Try to compile your program. Why do you get an error? ________________________
__________________________________________________________________________
3c. What is your programs output after youve fixed the problem? ___________________
___________________________________________________________________________