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()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()Create a free account to access the full topic