Ask Question

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

BufferedReader

System

ReadFile

FileRead

+3
Answers (1)
  1. 14 December, 04:28
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers