By: Ash Printer Friendly Format
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.
Most Viewed Articles (in Certification )
Latest Articles (in Certification)
Comment on this tutorial
- Data Science
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews