MCQOPTIONS
Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Testing Subject
General Aptitude
Logical and Verbal Reasoning
English Skills Ability
Technical Programming
Current Affairs
General Knowledge
Finance & Accounting
GATE (Mechanical Engineering)
Chemical Engineering
→
Java
→
Builtin Exceptions
→
How can we get the size of specified file?
1.
How can we get the size of specified file?
A.
capacity(path)
B.
size(path)
C.
length(path)
D.
Path.size()
Answer» C. length(path)
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
Which feature of java 7 allows to not explicitly close IO resource?
Which jar provides FileUtils which contains methods for file operations?
How can we filter lines based on content?
How can we create a symbolic link to file?
How to read entire file in one line using java 8?
How can we get the size of specified file?
How to copy the file from one location to other?
Which method can be used to check fileAccessiblity?
WHICH_FEATURE_OF_JAVA_7_ALLOWS_TO_NOT_EXPLICITLY_CLOSE_IO_RESOURCE??$
How can we delete all files in a directory?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies