adplus-dvertising
frame-decoration

Question

Which of these is method for testing whether the specified element is a file or a directory?

a.

IsFile()

b.

isFile()

c.

Isfile()

d.

isfile()

Answer: (b).isFile()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of these is method for testing whether the specified element is a file or a directory?

Similar Questions

Discover Related MCQs

Q. Which of these class is used to read and write bytes in a file?

Q. Which of these method of InputStream is used to read integer representation of next available byte input?

Q. Which of these data type is returned by every method of OutputStream?

Q. Which of these is a method to clear all the data present in output buffers?

Q. Which of these method(s) is/are used for writing bytes to an outputstream?

Q. Which of these stream contains the classes which can work on character stream?

Q. Which of these class is used to read characters in a file?

Q. Which of these method of FileReader class is used to read characters from a file?

Q. Which of these class can be used to implement the input stream that uses a character array as the source?

Q. Which of these classes can return more than one character to be returned to input stream?

Q. Which of the following is not a segment of memory in java?

Q. Does code Segment loads the java code?

Q. What is JVM?

Q. Which one of the following is a class loader?

Q. Which class loader loads jar files from JDK directory?

Q. Which of the following is not a memory classification in java?

Q. What is the Java 8 update of PermGen?

Q. Classes and Methods are stored in which space?

Q. Where is String Pool stored?

Q. The same import package/class be called twice in java?