query about io streams

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 link2raj06@yahoo.co.in
Sign In or Register to comment.

Howdy, Stranger!

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