1. Engineering
  2. Computer Science
  3. what is the ouput in java package test import javaio...

Question: what is the ouput in java package test import javaio...

Question details

What is the ouput in java

package test;

import java.io.*;

public class Main {

public static void main(String args[]) throws IOException {

FileReader f = new FileReader("src\\test\\Main.java\\");

BufferedReader b = new BufferedReader(f);

System.out.println(b.readLine() + " " + b.readLine() + " " + b.readLine());

}

}

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution