Chapter 12


Java™ 2 Primer Plus
By Steven Haines, Steve Potts

Table of Contents
Appendix C.  Answers to Review Questions

A1: and

A2: and


Primitive types




Chaining is the action of wrapping an existing stream by another stream that is easier to read or write from. It is useful because streams exist to service specific types of data and depending on the data you want to read or write there is a stream that makes it easier for you.


The class tokenizes input, using a delimiter that you specify. This enables you to read data in a way specific to the nature of your data; e.g. you could read a document word by word or a comma-separated value (CSV) file token-by-token without reading the commas.


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

    Similar book on Amazon © 2008-2017.
    If you may any questions please contact us: