Hello
I am trying to read from a buffered reader.
Cannot really post the code as it is for an assignment I have.
Basically i need to send text to a buffered reader, read this into a file using printWriter but also display this on the screen.
So when i do a while loop that loops until EOF is reached works fine.
the 2nd while loop that reads into a file using the same method above just freezes the program.
Do i have to open the close the bufferedReader when that read has finished ready for another read? or something as i am really struggling?
using .readLine() method