Oracle
1Z0-803 · Question #261
1Z0-803 Question #261: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-803 to reveal the answer and full explanation for question #261. The question stem and answer options stay visible for context.
Question
Given the code fragment: // insert code here arr[0] = new int[3]; arr[0][0] = 1; arr[0][1] = 2; arr[0][2] = 3; arr[1] = new int[4]; arr[1][0] = 10; arr[1][1] = 20; arr[1][2] = 30; arr[1][3] = 40; Which two statements, when inserted independently at line // insert code here, enable the code to compile?
Options
- Aint [] [] arr = null;
- Bint [] [] arr=new int [2];
- Cint [] [] arr=new int [2] [ ];
- Dint [] [] arr = new int [] [4];
- Eint [] [] arr=new int [2] [0];
- Fint [] [] arr=new int [0] [4];
Unlock 1Z0-803 to see the answer
You've previewed enough free 1Z0-803 questions. Unlock 1Z0-803 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.