Ask Question
8 December, 22:47

Which class can be used to read data into a text file?

BufferedReader

System

ReadFile

FileRead

+4
Answers (1)
  1. 8 December, 23:24
    0
    BufferedReader

    Explanation:

    There are many ways for reading a file. Many classes independently or with combination can be used for this purpose.

    Option (a) BufferedReader class can be used to read data of a file.

    Option (b) The System class contains methods which are useful to conduct IO (Input Output) operations like Standard Input and Standard Output. This class cannot be used to read a file. So, option (b) is not correct answer.

    Option (c) and (d) Even though the names ReadFile and FileRead seems to be classes related to reading a file but there are no classes with the names ReadFile and FileRead. Infact there is a class named "FileReader" which can be used to read a file along with "BufferedReader" class. So, options (c) and (d) are not correct answers.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Which class can be used to read data into a text file? BufferedReader System ReadFile FileRead ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers