Exercises

   

Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Chapter 12.  Using Java's Input and Output Classes


1:

Use the stream classes to copy a text file.

2:

Read data from the standard input and echo it to the standard output and to a file called output.txt.

3:

Use the java.io.StreamTokenizer class to read a text document word-by-word and display each word on a separate line.


       
    Top
     



    Java 2 Primer Plus
    Java 2 Primer Plus
    ISBN: 0672324156
    EAN: 2147483647
    Year: 2001
    Pages: 332

    Similar book on Amazon

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