Question: public static void what(int b, int a ) { if (b == a) { b *= 2; } else if ( b a) { b

public static void what(int b, int a ) { if (b == a) { b *= 2; } else if ( b a) { b += 3; a += 3; } System.out.println(a + " " + b); } Using the method defintion above, what is displayed by the following calls? Please make sure to number your answers. (1) what(4,4) (2) what(-2,0) (3) what(6,4)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
