Examlex

Solved

What Is the Output of the Following Code Snippet

question 68

Multiple Choice

What is the output of the following code snippet?
Int i = 1;
While (i < 20)
{
System.out.print(i + " ") ;
I = i + 2;
If (i == 15)
{
I = 19;
}
}


Definitions:

Corporate Income Tax

A tax imposed on the net income of a corporation, calculated on its net earnings.

Stockholders

Individuals or entities that own shares in a corporation, granting them certain rights and potentially a share in its profits.

Benefits Principle

The idea that people should pay taxes based on the benefits they receive from government services

Taxes

Obligatory charges imposed by authorities on the earnings of employees and the profits of businesses, or applied to the price of various commodities, services, and financial activities.

Related Questions