Which two methods are defined in the FileStore class print disk space information?

Which two methods are defined in the FileStore class print disk space information?

Which two methods are defined in the FileStore class print disk space information?

A.
getTotalSpace ()

B.
getFreeSpace ()

C.
getUsableSpace ()

D.
getTotalCapacity ()

E.
getUsed ()

Explanation:
A: The getTotalSpace() method returns the size, in bytes, of the file store.
C: The getUsableSpace() method returns the number of bytes available to this Java virtual
machine on the file store.
Reference: Class java.nio.file.FileStore



Leave a Reply 1

Your email address will not be published. Required fields are marked *