Howdy, Stranger!

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


query about io streams

link2rajlink2raj Member Posts: 9
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 protected]
Sign In or Register to comment.