adplus-dvertising
frame-decoration

Question

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

a.

read()

b.

scanf()

c.

get()

d.

getInteger()

Posted under Java Programming

Answer: (a).read()

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 method of FileReader class is used to read characters from a file?

Similar Questions

Discover Related MCQs

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?

Q. Which of these exceptions handles the situations when an illegal argument is used to invoke a method?

Q. Which of these exceptions will be thrown if we declare an array with negative size?

Q. Which of these packages contain all the Java’s built in exceptions?

Q. Which of these exceptions will be thrown if we use null reference for an arithmetic operation?

Q. Which of these class is used to create user defined exception?

Q. Which of these class provides various types of rounding functions?

Q. Which of these methods return a smallest whole number greater than or equal to variable X?

Q. Which of these method returns a largest whole number less than or equal to variable X?