|
-
May 7th, 2000, 03:12 AM
#1
systemout
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("");
-
May 7th, 2000, 10:07 AM
#2
Re: systemout
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|