What is the final value of the Variable x after the execution of the following code ?
public class Main
{
public static void run(int x)
{
++X;
X++;
}
public static void main(String[] args)
{
int x = 25;
try
{
run(x++);
return;
}
finally
{
X++;
}
}
}
Answers
Answered by
6
Answer:
java programming
I can't understand it
Answered by
12
Answer:
27 is the correct option
Similar questions