Examlex

Solved

CounterLoop = 1;

question 33

Essay

counterLoop = 1;
while(counterLoop < 10);
{
     System.out.println("Hello");
     counterLoop = counterLoop + 1;
}
What is the problem in the above while loop? How would you correct the problem?


Definitions:

Single Explanation

A theory or answer that accounts for a phenomenon or occurrence with one overriding cause or rationale.

Human Act

Actions performed by humans which are the result of deliberate decisions.

Affirmative Action

A policy designed to redress past discrimination against women and minority groups through measures to improve their economic and educational opportunities.

Related Questions