Question: cosider the following method: public static void ifElseMystery 1 ( int x , int y ) { int z = 4 ; if ( z
cosider the following method:
public static void ifElseMysteryint x int y
int z ;
if z x
z x ;
else
z z ;
if z y
y;
System.out.printlnz y;
ifElseMystery;
ifElseMystery;
ifElseMystery;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
