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
Scorpion4ik [409]
4 years ago
14

loopCount = 1; while(loopCount < 3) System.out.println("Hello"); loopCount = loopCount + 1; No output Hello Hello Hello Hello

Hello This is an infinite loop
Computers and Technology
2 answers:
Viktor [21]4 years ago
8 0

Answer:

Explanation:

wrap the statements of loop in curly braces {} if the statements are more than one. In your case loop counter=loopcounter+1 is out of loop If you want a finite loop then here ist is ffit is iisDo it like this will make it finite loop

int loopCount = 1

while(loopCount < 3) {

System.out.println("Hello");

loopCount = loopCount + 1;

}

BARSIC [14]4 years ago
5 0

Answer:

You need to wrap the statements of loop in curly braces {} if the statements are more than one. In your case loopcounter=loopcounter+1 is out of loop

Explanation:

// Do it like this will make it finite loop

int loopCount = 1

while(loopCount < 3) {

System.out.println("Hello");

loopCount = loopCount + 1;

}

You might be interested in
When did Microsoft released MS-Word 2016? S When did Microsoft released MS - Word 2016​
Pepsi [2]

Answer:

July 9, 2015

Explanation:

It was released on macOS on July 9, 2015, and on Microsoft Windows on September 22, 2015, for Office 365 subscribers. Mainstream support ended on October 13, 2020, and extended support for most editions of Office 2016 will end on October 14, 2025, the same day as Windows 10.

3 0
2 years ago
Gathering information with your eyes is called
Ivahew [28]
Observing, Looking, Collecting, there are a few words for "gathering information with your eyes". 
4 0
3 years ago
Read 2 more answers
How can a cell phone tower help people​
Sveta_85 [38]

Answer:

Whenever you use your mobile phone to make a call, it emits electromagnetic radio waves also known as radio frequency or RF energy. Once the radio waves are emitted, the antenna from the nearest cell phone tower will receive them. The antennas of a cell tower can both transmit and receive signals from mobile phones.

6 0
3 years ago
Read 2 more answers
You are not sure if a certain word has an"e"at the end<br>​
sukhopar [10]
What exactly are you asking ?
7 0
3 years ago
What is the page table mainly for?
postnew [5]

Answer: See explanation

Explanation:

A page table is used for the tracking and the location of different pages of a task in memory. It helps in showing the mapping of locations between the physical addresses and the virtual addresses.

A page table stores also has the page table entries and this is where the frame numbers are stored as well as the operational status.

6 0
3 years ago
Other questions:
  • Which of the following is a goal of paraphrasing and summarizing?
    14·2 answers
  • Suppose that, on average, a certain binary search algorithm takes one second to search through 1,000 items. Approximately how lo
    9·1 answer
  • Can you get accurate
    6·2 answers
  • HELP I WILL MARK BRAINLIEST!!! I NEED ASAP!!!
    5·1 answer
  • Can someone please‼️‼️❗️help me with this?<br> I got an error that I can’t figure out how to fix it.
    6·1 answer
  • When the amount of storage data is big, and we need the searching and insertion must be very fast, which kind of data structure
    9·1 answer
  • Generally speaking, problems are rarely caused by motherboards. However, there are some instances in which a motherboard can fai
    12·1 answer
  • Question 2 of 10
    13·1 answer
  • Section A: A(n) is a collection of information, generally stored as computer files. The information it contains can be stored, u
    10·1 answer
  • Whats the overall mood of the song Rags2Riches by rod wave
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!