9.7.1.What happens to the file system when the following code is run and the myFile object is created?
import java.io.File;
public class MainClass { public static void main(String[] argv) {
File myFile = new File("name");
}
}
A. A new empty file with that name is created but not opened.
B. The current directory changes to that specified in name.
C. A new empty file with that name is created and opened.
D. None of the above.
9.7.Questions
9.7.1.
What happens to the file system when the following code is run and the myFile object is created?