Examlex

Solved

What Is the Output of the Code Fragment Given Below

question 121

Multiple Choice

What is the output of the code fragment given below?
Int i = 0;
Int j = 0;
While (i < 125)
{
I = i + 2;
J++;
}
System.out.println(j) ;


Definitions:

Learning

The act of gaining new insights, learning, abilities, values, or inclinations by means of education, practical exposure, or instruction.

Behaviors

The actions or reactions of an individual in response to external or internal stimuli.

Moral Concern

The consideration and evaluation of the distinctions between right and wrong or good and evil actions, often guided by cultural, philosophical, or religious principles.

European Christians

Individuals residing in Europe who identify with or practice Christianity, a religion based on the life and teachings of Jesus Christ.

Related Questions