Filter Streams   «Prev  Next»

Course Project, part 2

Expand the program you developed so that it also dumps a file as floating point numbers, double-precision floating point numbers, shorts, ints, and longs. You will need to add command line switches for each of these possibilities. For example, use -i as the command line switch for int format. Print each number on a separate line.
Your finished program will be used as the starting point for the course project in the next course of the Networking with Java series, Java Readers and Writers. Paste the source code below and click the Submit button when you are ready to submit this exercise.