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)

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

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!