By: Ash Emailed: 1728 times Printed: 2331 times
A. When you construct an instance of File, if you do not use the file naming semantics of the local machine, the constructor will throw an IOException
B. When you construct an instance of File, if the corresponding file does not exist on the local file system, one will be created.
C. When an instance of a File is garbage collected, the corresponding file on the local file system is deleted.
Answer:All three statements are false. Construction and garbage collection of a File have no effect on the local file system.
Be the first one to add a comment
Most Viewed Articles (in Certification )
Most Emailed Articles (in Certification)