|
BRReadLines.java
// Reading a string from console using a BufferedReader. Sample Coding 1: import java.io.*; class BRReadLines{
System.out.println("Enter lines of text.\n Enter
'stop' to quit.");
Sample Coding 2: package filehandling1; import java.io.*; class BRReadLines { public static void main(String args[])
throws IOException {
Sample Coding 3: import java.io.*; class BRReadLines {
System.out.println("Enter lines of
text.");
|
|
See also
Do you have a Java Problem?
Java Books
Return to : Java Programming Hints and Tips All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|