質問                    | 
                
                    答え                    | 
            
        
        
      What package contain most input out put tools?    学び始める
 | 
 | 
    
 | 
 | 
 | 
| 
     学び始める
 | 
 | 
      what is a stream? A stream can be defined as a sequence of data. there are two kinds of Streams. InPutStream: The InputStream is used to read data from a source. OutPutStream: the OutputStream is used for writing data to a destination.   
 | 
 | 
 | 
      what a re the 2 kinds of streams?    学び始める
 | 
 | 
      Byte stream and Character stream.   
 | 
 | 
 | 
| 
     学び始める
 | 
 | 
      Byte oriented I/O operations are needed to handle binary files that use 8-bit codes.   
 | 
 | 
 | 
      what is a character stream?    学び始める
 | 
 | 
      Character oriented I/O operations are used to handle text files for which Java uses 16-bit UTF encoding (Unified Transformation Format).   
 | 
 | 
 | 
      give example of two byte stream classes    学び始める
 | 
 | 
      Input Stream classes; Output Stream classes.   
 | 
 | 
 | 
      give example of two Character stream classes    学び始める
 | 
 | 
      Reader classes; Writer classes.   
 | 
 | 
 | 
      _______convert a bite of input to a 16 bit character.    学び始める
 | 
 | 
      Readers convert a bite of input to a 16 bit character.   
 | 
 | 
 | 
      _____convert a 16 bit character to a bite.    学び始める
 | 
 | 
      Writers convert a 16 bit character to a bite.   
 | 
 | 
 | 
      what arte the 3 streams provided by the system class?    学び始める
 | 
 | 
      System. in; system. out; system. err   
 | 
 | 
 | 
      There are 9 reader (______, ...) in the java. io package    学び始める
 | 
 | 
      There are 9 reader (______, ...) in the java. io package   
 | 
 | 
 | 
      There are 8 reader (BufferedWriter, ...) in the java. io package    学び始める
 | 
 | 
      There are 8 reader (BufferedWriter, ...) in the java. io package   
 | 
 | 
 | 
      What can the Scanner class do?    学び始める
 | 
 | 
      a simple text scanner which can parse primitive types and strings   
 | 
 | 
 | 
      What package is scanner class found within?    学び始める
 | 
 | 
    
 | 
 | 
 | 
      what does the scanner constructor look like?    学び始める
 | 
 | 
      public Scanner(InputStream source) inputstream can be file or string etc   
 | 
 | 
 | 
      what does the scanner do?    学び始める
 | 
 | 
      breaks its input into tokens using a delimiter pattern (whitespace). The resulting tokens may then be converted into values of different types using various next() methods.   
 | 
 | 
 | 
      what does String next() do?    学び始める
 | 
 | 
      Finds and returns the next complete token from this scanner.   
 | 
 | 
 | 
      What does int nextInt() do?    学び始める
 | 
 | 
      Scans the next token of the input as an int.   
 | 
 | 
 | 
      What does double nextDouble() do?    学び始める
 | 
 | 
      Scans the next token of the input as a double.   
 | 
 | 
 | 
      what does skip(String pattern) do?    学び始める
 | 
 | 
      Skips input that matches a pattern constructed from the specified string.   
 | 
 | 
 |