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
Andre45 [30]
3 years ago
7

Which xxx completes the code to read every integer from file "data. txt"? fileinputstream inputstream = null; scanner infs = nul

l; int total = 0; inputstream = new fileinputstream("data. txt"); infs = new scanner(filebytestream); while(xxx){ total = total + infs. nextint(); } system. out. println("total: " + total); group of answer choices inputstream. hasnextint( ) total != 0 infs. hasnextint( ) infs. eof( ) == false
Computers and Technology
1 answer:
luda_lava [24]3 years ago
3 0

Answer:

total+ infs . nex (xxx){total}

Explanation:

this is correct theres nothing wrong

You might be interested in
Which software documentation guideline did the IEEE establish?
Tomtit [17]

Answer:

B

Explanation:

I am big brain

8 0
3 years ago
Harry is undertaking a digital photography course as the college and wants to
Ludmilka [50]

C. Unconventionally yes it will break down the system potentially causing a virus

4 0
3 years ago
Some systems provide file sharing by maintaining a single copy of a file. Other systems maintain several copies, one for each of
Natalka [10]

Answer:

Explanation:

When you have a single copy, a large number of concurrent updates that are supposed to go to a file may result in the user obtaining incorrect information. This incorrect information obtained them leads to the file being left in an incorrect state. When you have a lot of or multiple copies, then storage waste exist and the various copies might happen not to be consistent with respect one other. In summary, what happens is that

a) Using one copy saves space, but also the change might have an effect on all the users.

b) Using multiple copies avoids eliminates the change problem, while creating its own problems, using more space.

3 0
3 years ago
Which of the following is benefit of information communication technology?
igor_vitrenko [27]

Answer:

C. Cost reduction

Explanation:

ICT covers all the products that can store, retrieve, transmit or receive and manipulate the information via the electronic medium in a binary or digital mode. As an example, we can consider the Personal computer, digital television, robots or email as well as the digital communication technologies that allow the organizations and people to talk and share the information between them in a digital manner. And this is cost-effective, there is no employee benefit, increased use of postal mail or less technology. The only advantage is cost reduction. And hence C, Cost reduction is the right answer.

5 0
3 years ago
Read 2 more answers
Describe ways in which an interpersonal learner prefers to learn. Write a paragraph of two to three sentences that explains your
Artyom0805 [142]
An interpersonal learner prefers to learn through interactions with other people. They learn through use of interpersonal skills and communication. They like to be coached and to coach others. So mentoring and apprenticeship is a good way. Moreover, group activities, like group study and role-play are excellent ways fro interpersonal learners to learn.
5 0
3 years ago
Other questions:
  • WHAT IS SQL AND HOW CAN YOU MEET THE DATA REQUIREMENTS ALSO MAINTAINING DATA INTEGRITY,AND LASTLY STATE THE FULL MEANING OF SQL
    11·1 answer
  • Two electronics technicians are looking at the testing instrument in the figure above. Technician A says that this instrument is
    7·1 answer
  • This assignment is to read from an input file and process the data for a group of people. Your program calculates the interest a
    5·1 answer
  • The overall purpose of a food guide is________.
    11·1 answer
  • : Each individual data items of record is called a
    7·1 answer
  • The __________ utility has the capability to manage users, create and administer user groups, and apply user rights to those use
    8·1 answer
  • Your school has been declared a school of technology
    15·1 answer
  • Which actions are available in the Trust Center? Check all that apply.
    8·1 answer
  • The average pH of citrus fruits is 2.2, and this value has been stored in the variable avg_citrus_pH . Provide a statement to di
    15·1 answer
  • Outside of a C program, a file is identified by its ________while inside a C program, a file is identified by a(n) ________. fil
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!