Match each of the most common methods from the FileInfo interface with their correct definition.
Getting file attributes
The FileInfo interface methods
Report a typo
Match the items from left and right columns
Mode()Name()IsDir()ModTime()Size()returns
true or false, depending on the file typereturns the file permission mode
returns the file name
returns the last time the file was modified
returns the file size in bytes
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.