Java I/O

Buffering

//Read
BufferedReader input = new BufferedReader (new InputStreamReader(System.in));

//Write
Writer out= newBufferedWriter(new FileWriter("file.out"));

//Write a system-dependent newline. DANGER!!!
out.newLine();


José M. Vidal .

7 of 13