Question
a.
capacity(path)
b.
size(path)
c.
length(path)
d.
Path.size()
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. How can we get the size of specified file?
Similar Questions
Discover Related MCQs
Q. How to read entire file in one line using java 8?
View solution
Q. How can we create a symbolic link to file?
View solution
Q. How can we filter lines based on content?
View solution
Q. Which jar provides FileUtils which contains methods for file operations?
View solution
Q. Which feature of java 7 allows to not explicitly close IO resource?
View solution
Q. Which of the following is not a core interface of Hibernate?
View solution
Q. SessionFactory is a thread-safe object.
View solution
Q. Which of the following methods returns proxy object?
View solution
Q. Which of the following methods hits database always?
View solution
Q. Which of the following method is used inside session only?
View solution
Q. Which of the following is not a state of object in Hibernate?
View solution
Q. Which of the following is not an inheritance mapping strategies?
View solution
Q. Which of the following is not an advantage of using Hibernate Query Language?
View solution
Q. In which file database table configuration is stored?
View solution
Q. Which of the following is not an advantage of Hibernate Criteria API?
View solution
Q. What should the return type of method where there is no return value?
View solution
Q. What data structure should be used when number of elements is fixed?
View solution
Q. What causes the program to exit abruptly and hence its usage should be minimalistic?
View solution
Q. Which one of the following causes memory leak?
View solution
Q. Which of the following is a best practice to measure time taken by a process for execution?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!