Which of these is method for testing whether the specified element is a file or a directory?
A. IsFile()
B. isFile()
C. Isfile()
D. isfile()
Answer:A
Which of these is method for testing whether the specified element is a file or a directory?
A. IsFile() B. isFile() C. Isfile() D. isfile()
Explanation: isFile() returns true if called on a file and returns false when called on a directory.