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
Marina86 [1]
3 years ago
6

Assume that input file references a Scanner object that was used to open a file. Which of the following while loops shows the co

rrect way to read data from the file until the end of the file is reached?
a. while (inputFile != null)
b. while (!inputFile.EOF)
c. while (inputFile.hasnextInt())
d. while (inputFile.nextLine == " ")
e. while (inputFile.hasnextInt())
Computers and Technology
1 answer:
Firlakuza [10]3 years ago
7 0

Answer:

The answer is letter C

Explanation:

The correct way to read data from the file until the end of the file is reached is while (inputFile.hasnextInt())

You might be interested in
To locate something in the database, one must type in the keyword into the ________ of the application.
max2010maxim [7]
<span>To locate something in the database, one must type in the keyword into the QUERY FORM of the application</span>
4 0
3 years ago
1.Which one of the following buttons returns a window to its original size?
Ber [7]

Answer:

1. D

2.C

3. D

4. A

5. B

6.B

7.B or D

8.C

Explanation:

Not 100% sure about 3,4, 8

7 0
3 years ago
Please answer quick:))))
Anika [276]
I think B and the second one C
8 0
3 years ago
Mikaya works in the planning department
Sonja [21]

Answer:

I don't understand need more information mate.

Explanation:

5 0
3 years ago
Read 2 more answers
Which keyboard command would you use to navigate to the left adjacent cell in a worksheet?
guapka [62]

Answer:

Either scroll on a mouse or use the left arrow key.

I don't know if this is right.

3 0
3 years ago
Read 2 more answers
Other questions:
  • Because so many newspapers now have online versions of their publications, many observers feel that "circulation" is an insuffic
    11·1 answer
  • What does CMOS stand for?
    15·2 answers
  • What are two reasons people work?
    7·2 answers
  • Which element appears within the top margin of the document but does not form the part of the body of the text?
    15·1 answer
  • Using positive self talk is a great way to
    12·2 answers
  • Software is the word for:
    15·1 answer
  • If you insert a single row by using the Insert command on the shortcut menu, you can continue inserting rows by repeatedly press
    7·2 answers
  • What is difference between reserved and user defined word
    9·1 answer
  • What is the importance of server modules and add-ons?
    9·1 answer
  • 1. A cell is identified by its ........
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!