·        System  (p. 876)

o       is in java.lang

o       is public

o       is final

o       is derived from Object

o       contains the standard input, output and error streams

o       contains the following

§         public static PrintStream err

·        standard error output stream (stderr)

§         public static InputStream in

·        standard input stream (stdin)

§         public static PrintStream out

·        standard output stream (stdout)

 

 

 

 

 

 

 

 

 

·        Reader

·        http://java.sun.com/j2se/1.5.0/docs/api/index.html

·         

 

 

 

·        Scanner (p. 864)

·        http://java.sun.com/j2se/1.5.0/docs/api/index.html

o       is in java.util

o       is public

o       has been modified

o       is a text scanner that can parse primitive stypes and strings

o       has following public methods

§         nextInt()  returns an int

§         nextFloat()  returns a float

§         nextLong()  returns a long

§         nextShort()  returns a short

§         nextDouble()  returns a double

§         nextByte ()  returns a byte

§         nextBoolean()  returns a boolean

§         hasNext()  returns a boolean