Examlex

Solved

How Many Times Does the Loop Execute in the Following

question 100

Multiple Choice

How many times does the loop execute in the following code fragment?
Int i;
For (i = 0; i < 50; i = i + 4)
{
System.out.println(i) ;
}


Definitions:

Probability Range

The spread between values within which a random variable is expected to fall with a certain probability.

Returns

The profit or loss derived from an investment over a specified period, often expressed as a percentage.

Dividend Yield

A financial ratio that indicates how much a company pays out in dividends each year relative to its share price.

Quarterly Dividends

Dividends paid by a corporation to its shareholders at regular intervals every three months.

Related Questions