I want to know if really the sentence "BufferedReader" saves the information in buffer because when I execute the following sentences the BufferedReader is empty
why does it happen?
|
Code:
|
br = new BufferedReader(new FileReader(file));
FileWriter fw = new FileWriter(file);
while ((str = br.readLine())!= null) |
thanks,
peter