Non-existing location

Report a typo

Suppose you have an instance of the java.io.File class called file. It corresponds to a non-existing location on your disk.

Which of the following lines return true?

a) file.isDirectory()
b) file.isFile()
c) file.exists()
Select one option from the list
___

Create a free account to access the full topic