import java.io.*;
public class file
{
    public static void main (String []args) throws IOException
    {
    String out="";
          BufferedReader in = new BufferedReader(new FileReader("file.java"));
        String str;
        while ((str = in.readLine()) != null)
         {
            out+=str+"\n";
        }
        in.close();
        System.out.print(out);
    }
}
1
Contributor
0
Replies
1
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.