Sail E0 Webinar
Question
Which of these is method for testing whether the specified element is a file or a directory?
Options:
A .  IsFile()
B .  isFile()
C .  Isfile()
D .  isfile()
Answer: Option B


isFile() returns true if called on a file and returns false when called on a directory.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers