just think that when I opened my file then when I want to write something in it ,one Exception will be thrown,and if I used file.close() in the try block ,So because of that Exception will not work,
where should I close my file???
just think that when I opened my file then when I want to write
Share
The proper way to do so is: