Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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) 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started