M
me2
I am using the File object in an app.
I noticed there is no close() method for it. Why not ? What am I missing ?
Does Java just rely on the object going out of scope to close the file ?
Or does one only have to close the stream associated with the file ?
Thanks.
I noticed there is no close() method for it. Why not ? What am I missing ?
Does Java just rely on the object going out of scope to close the file ?
Or does one only have to close the stream associated with the file ?
Thanks.