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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!