Home » JAVA Programming » Files and I/O » Question
  1. How can we get the size of specified file?
    1. length(path)
    2. capacity(path)
    3. Path.size()
    4. size(path)
    5. None of these
Correct Option: D

size(Path) returns the size of the specified file in bytes.



Your comments will be displayed only after manual approval.