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("");
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("");