Examlex

Solved

What Will Be Printed When the Following Code Is Executed

question 49

Multiple Choice

What will be printed when the following code is executed?
Int y = 10;
If ( y == 10)
{
Int x = 30;
X += y;
}
System.out.print("x = ") ;
System.out.print(x) ;


Definitions:

Related Questions