in java when ::
FileWriter fw=new FileWriter("arr.txt");
BufferedWriter bw=new BufferedWriter(fw);
PrintWriter p=new PrintWriter(bw);
fff should be written to file arr.txt but when arr.txt is opened there is no content in file why??
( i have not closed the streams but on closing streams file is showing its contents ie.fff)why?
plz reply me email@example.com