Question: 1. public class Test 2. public static void main (string] args) 3. /* insert code here/ array [0]=10; array [1]-20; System. out.print (array I01 :
![1. public class Test 2. public static void main (string] args)](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4de34bb656_70066f4de345fa7a.jpg)
1. public class Test 2. public static void main (string] args) 3. /* insert code here/ array [0]=10; array [1]-20; System. out.print (array I01 ": "array [1]) 6 7. Which code fragment, when inserted at line 3, enables the code to print 10:20? A. int[] array n= new int[2], B. int array, C. D. array int121; int array new int[2]. int array [2]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
