Question: public class Test { public static void main (String[] args) { int[] x = 11, 2, 3, 4, 57; increase (x); int[] y = {1,

  • public class Test { public static void main (String[] args) { int[] x = 11, 2, 3, 4, 57; increase (x); int[] y = {1, 2, 3, 4, 5}; increase (y [0]); System.out.printin(x[0] + " " + y [0]); } public static void increase(int[] ) { for (int i = 0; i < x.length; i++) x[i]++;

public static void increase(int y) {

y ytti

O A. 00

OB. 11

OC. 22

OD. 21

OE. 12

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!