edu.pdx.cs399J.core
Class ReadFromConsole

java.lang.Object
  extended by edu.pdx.cs399J.core.ReadFromConsole

public class ReadFromConsole
extends Object

This program reads text from the console until the user enters -1 at which point it prints what the user has entered. It demonstrates the BufferedReader, InputStreamReader, and StringWriter classes.


Constructor Summary
ReadFromConsole()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadFromConsole

public ReadFromConsole()
Method Detail

main

public static void main(String[] args)


Copyright © 2000-2009 Portland State University. All Rights Reserved.