MCQs
Total Questions : 51
| Page 1 of 6 pages
Answer: Option B. -> java.lang package
Answer: Option C. -> A and C
Answer: Option C. -> Compilation Error
Answer: Option D. -> writting a line separator to the stream
Answer: Option B. -> system
obj.getName() returns the name of the file.
Answer: Option B. -> isFile()
isFile() returns true if called on a file and returns false when called on a directory.
Answer: Option A. -> File
A File describes properties of a file, a File object is used to obtain or manipulate
the information associated with a disk file, such as the permissions, time date,
and directories path, and to navigate subdirectories.
Answer: Option C. -> directory in disk
Answer: Option C. -> ObjectFilter
Answer: Option A. -> String