Card 6 / 76: Which class in the java.io package allows for the reading and writing of files to specified locations within a file?
A)
File
B)
FileDescriptor
C)
FilenameFilter
D)
RandomAccessFile
Answer:
D) RandomAccessFile
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
A, B, and C are incorrect.
A is incorrect because the File class provides a representation of file and directory pathnames.
B is incorrect because the FileDescriptor class provides a means to function as a handle for opening files and sockets.
C is incorrect because the FilenameFilter interface defines the functionality to filter filenames.
|