Question: Question 21: -- Class ________ provides static methods for common file and directory manipulations, including methods for copying files; creating and deleting files and directories;

Question 21: -- Class ________ provides static methods for common file and directory manipulations, including methods for copying files; creating and deleting files and directories; getting information about files and directories; reading the contents of files; getting objects that allow you to manipulate the contents of files and directories; and more. File FileAndDirectory Files FilesAndDirectories Flag this Question

Question 22: -- A(n) ________ path starts from the directory in which the application began executing. absolute relative parallel comparative Flag this Question

Question 23: -- Path method ________ returns the String name of a file or directory without any location information. getStringName getFileOrDirectoryName getDirectoryName getFileName Flag this Question

Question 24: -- Which statement regarding Java files is false? Java imposes no structure on a file. Notions like record do not exist in Java files. The programmer must structure files to meet the requirements of applications. Records in a Java sequential file are stored in order by record key. Flag this Question

Question 25: -- What does the following statement do?

Scanner scanner = new Scanner(Paths.get("test.txt"));

Opens a binary file for input. Opens a binary file for output. Opens a text file for input. Opens a text file for output. Flag this Question

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!