edu.pdx.cs399J.core
Class ReadFromConsole
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadFromConsole
public ReadFromConsole()
main
public static void main(String[] args)
Copyright © 2000-2009 Portland State University. All Rights Reserved.