sigmanelijah
sigmanelijah sigmanelijah
  • 20-05-2020
  • Computers and Technology
contestada

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​

Respuesta :

dom1229 dom1229
  • 01-06-2020

Answer: I think it is a

Explanation:Sorry if it it is worng

Answer Link

Otras preguntas

Which two statements are true about the Socialist Party of Oklahoma? A.Oklahoma socialists did not support the women’s suffrage movement and supported the disfr
What was the most important effect of the Panama Canal on trade
Which of these cities is not located along a coast africa?
Consider F and C below. F(x, y) = x4y5i + x5y4j, C: r(t) = t3 − 2t, t3 + 2t , 0 ≤ t ≤ 1 (a) Find a function f such that F = ∇f. f(x, y) = (b) Use part (a)
Peter mixes 4 1/4 cups of orange juice, 2 1/4 cups of ginger ale, and 6 1/3 cups of strawberry lemonade to make some punch. What is the total number of cups of
Which food has the highest number of calories?
What did woodrow wilson do to be the most effective president?
Why did south carolina threaten to secede over the tariff issue?
write each number in standard form 7400
If arc BC = 30°, arc AB = 120°, and arc CD = 120°, what is the measure of ∠APD?