What method return true if invoking object is directory?

What method return true if invoking object is directory?
Answer
File isDirectory() method in Java with Examples
The isDirectory() function is a part of File class in Java . This function determines whether the is a file or directory denoted by the abstract filename is Directory or not. The function returns true if the abstract file path is Directory else returns false.
 

Tìm kiếm

Back
Top