Examlex

Solved

What Is the Output of the Following Code Snippet

question 10

Multiple Choice

What is the output of the following code snippet?
Int num = 100;
If (num != 100)
{
System.out.println("100") ;
}
Else
{
System.out.println("Not 100") ;
}


Definitions:

Self-assessment

The process of evaluating one's own thoughts, feelings, behaviors, and abilities, often in relation to personal goals or standards.

Psychology

The science that studies behavior and the physiological and mental processes that underlie it and the profession that applies the accumulated knowledge of this science to practical problems.

Outgoing

A personality trait characterized by a person being sociable, extroverted, and willing to engage with others.

Reserved People

Individuals who are naturally reticent, shy, or inclined to keep their thoughts and feelings to themselves.

Related Questions