The Problem You are writing a program that accepts from the command line a number and that number tells the application how many numbers to read from standard input. What are the different problems that can arise from such an application? Where can it go wrong? In your group, list the different problems that can occur in working with the above
Solutions So how do you solve each of these? OR …..? In your group, identify a way to solve each of the problems. OR …..?
Exception handling See html notes and book, chapter 12.1
Copyright © 2005, Pearson Addison-Wesley. All rights reserved. Exception Classes Object Throwable Exception Error RuntimeException IOException FileNotFoundException EOFException … Starting Out With Java Control Structures to Objects By Tony Gaddis Copyright © 2005, Pearson Addison-Wesley. All rights reserved.