Closing - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.


sharpsh007ersharpsh007er Posts: 1Member
Reader rdr = new InputStreamReader(;
BufferedReader br = new BufferedReader(rdr);
String s;
Scanner sc=new Scanner(;

I've noticed that if I close the BufferedReader, I won't be able to insert input from the keyboard anymore, as is somehow closed. Is there anyway I can keep br.close() (I need that in order to delete a file) and then add more input from the keyboard?

Sign In or Register to comment.