Discussion :: JAVA MCQs
- Which of these is method for testing whether the specified element is a file or a directory?
Answer : Option B
Explanation :
isFile() returns true if called on a file and returns false when called on a directory.
Be The First To Comment