Examlex

Solved

What Is the Output of the Following Code Fragment

question 81

Multiple Choice

What is the output of the following code fragment?
Int i = 1;
Int sum = 0;
While (i <= 11)
{
Sum = sum + i;
I++;
}
System.out.println("The value of sum is " + sum) ;


Definitions:

Wage Increase

An upward adjustment in employees' earnings per hour worked or salary.

Price-Taker Markets

Markets in which individual sellers or buyers cannot influence the price of a good or service and must accept the market price as given.

Market Price

The current price at which an asset or service can be bought or sold in the open market.

Differentiated Products

Products distinguished from similar products by characteristics like quality, design, location, and method of promotion.

Related Questions