BufferedReader br = new BufferedReader(new FileReader("shark-data.txt"));
String fileRead = br.readLine();
PrintStream out = new PrintStream(new FileOutputStream("results.txt"));
System.setOut(out);
The code works, it creates a new text file and puts my output from the console into the text file. The problem is that nothing appears on my console. How do I fix this?