Exercises

    next disabled - end of section

graphics/roundbullet.gif A.1 Write a version of In that prints an informative message about what is wrong with the input for each possible exception that might arise.

graphics/roundbullet.gif A.2 Write a class that extends Applet and provide implementations of In and Out so that you can accept input and provide output in an applet window. Your goal is to make it possible for driver code in programs such as Program 1.1 to be used with as few changes as possible.


    next disabled - end of section
Top


Algorithms in Java, Part 1-4
Algorithms in Java, Parts 1-4 (3rd Edition) (Pts.1-4)
ISBN: 0201361205
EAN: 2147483647
Year: 2002
Pages: 158

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net