Courseiva

1Z0-811

Study mode — explanations shown

1

Arrays and Methods

medium

Given the method: public static void modify(int[] data) { data = new int[]{10,20}; } What is the output of: int[] vals = {1,2}; modify(vals); System.out.println(vals[0]);

0 of 24 answered