Ask Question
3 December, 07:03

What is output by the code below?

int[] nums = new int[10];

for (int i=0; i < nums. length; i++)

{

nums[i] = i*2;

}

System. out. println (nums[5]);

a. 16

b. 10

c. 14

d. 18

e. 12

+1
Answers (1)
  1. 3 December, 09:41
    0
    Answer: I think it is a

    Explanation:Sorry if it it is worng
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is output by the code below? int[] nums = new int[10]; for (int i=0; i < nums. length; i++) { nums[i] = i*2; } System. out. println ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers