Click to See Complete Forum and Search --> : systemout


Judman
May 7th, 2000, 03:12 AM
Hi
I am creating a program to read and external txt file and output the text. However the output is not happening. I have tried may combinations can anybody help.
Thanks
Judman

public class wordCollection{
public static void main(String[] args) throws IOException{
InputStreamReader reader = new InputStreamReader(System.in);
BufferedReader input = new BufferedReader(reader);

String text = input.readLine();
System.out.println("");

weaver
May 7th, 2000, 10:07 AM
Well, if you want to output the text that you are reading, you actually have to output the text, not "".

-------------------------------------------
weaver
icq# 64665116
Please rate this post.
http://weaver.x7.htmlplanet.com