What is the value of x after the call to m1 in line 8 of the following code

java Transcribed Image Text: QUESTION 8
What is the value of x after the call to m1 in line 8 of the following code?
50
public static void main(String[] args)
{
int x = 5 ;
6
7
m1(x);
9.
10
}
public static void m1 (int x)
{
110
12
13
if ( x > 0 || x < 3) x = x++ + (x + 2); else 14 15 16 17 x--; 18 19 m2 (x); 20 21 } 22 230 public static void m2 (int x) { while (x > 0) {
24
25
26
x — 3;
}
}
27
28
29
O 5
O-1
1
Compiler error
none of the above

-25-


Buy plagiarism free, original and professional custom paper online now at a cheaper price. Submit your order proudly with us



Essay Hope