1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
IgorC [24]
3 years ago
12

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

Computers and Technology
1 answer:
son4ous [18]3 years ago
7 0

Answer:

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.

You might be interested in
Which type of software has no restrictions from the copyright holder regarding modifications of the softwares internal instructi
gizmo_the_mogwai [7]
The software that has no restrictions from copyright holder regarding modification of the software's internal and its redistribution is called an Open source software. They are being provided for use and redistribution for free, with no cost. They can be easily downloaded on the Internet.
4 0
3 years ago
Write a program that will open a file named thisFile.txt and write every other line into the file thatFile.txt. Assume the input
Naily [24]

Answer:

Check the explanation

Explanation:

The programmable code to solve the question above will be written in a python programming language <u><em>(which is a high-level, interpreted, general-purpose programming language.)</em></u>

<u><em /></u>

f = open('thisFile.txt', 'r')

w = open('thatFile.txt', 'w')

count = 0

for line in f:

   if count % 2 == 0:

       w.write(line)

   count += 1

w.close()

f.close()

4 0
3 years ago
Which of the following is not included in the manufacturing industry cluster?
max2010maxim [7]
Printing is not included in the manufacturing industry cluster
6 0
3 years ago
Read 2 more answers
WILL MARK BRIAN PLZ HELP PLZ I BEG YOU While levels often change in order to give a game some more variability, they might also
rosijanka [135]

Answer:

Game story

Explanation:

5 0
3 years ago
Which of the following need to be assessed during unit testing?
diamong [38]
E) both C and D Erro handling and execution paths
8 0
3 years ago
Other questions:
  • Martha wants to invite her coworkers to her birthday party. She uses the mail merge feature to compose and send the invitations.
    6·1 answer
  • Type the correct answer in the box. Spell all words correctly.
    11·1 answer
  • Face book requires you to change your password regularly<br> a. TRUE<br> b. FALSE
    14·1 answer
  • During data declaration, a name is binded to a memory location, what else can be identify as part of this process?
    12·1 answer
  • Which of the following is not considered a system component that can be found inside a computer? A-CPU B-RAM C-PCIe graphics ada
    6·1 answer
  • What is the practical application of the information acquired by science.
    15·1 answer
  • Is it true or false and incomplete doing can be saved in Paint​
    15·1 answer
  • This is your code.
    9·1 answer
  • How do we find the time complexity for this algorithm?
    6·1 answer
  • Michael is stuck due to an electric shock generated at the fridge. What should you do to save michael?.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!