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:

Sexual Behavior

Activities related to physical intimacy and reproduction, including sexual acts and expressions of sexual attraction.

Turner Syndrome

A chromosomal disorder affecting females, characterized by the absence of part or all of a second sex chromosome, leading to various developmental and physical abnormalities.

Gender Identity

An individual's personal sense of their own gender, which may or may not correspond with the sex they were assigned at birth.

Gender Typing

The process by which society and culture ascribe particular roles, behaviors, or attributes to individuals based on their perceived sex.

Related Questions