What happens here

Report a typo

You have an instance of java.io.File named file. It represents a file or a directory on a disk.

Here are the results of invoking two methods:

file.listFiles() // returns an array with three elements
file.getParentFile() // returns a non-null object

Select the correct statements about file.

Select one or more options from the list
___

Create a free account to access the full topic