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

Need help with this question
Whitch three processes happen as a multicellular organism grows
Want Brainliest? Get this Correct The x-values in the table for f(x) were multiplied by -1 to create the table for g(x) What is the relationship between the gra
If the valency of oxygen is 2, derive the valencies of the other elements present in the following oxides. Na2O, ZnO , Al2O3 , MgO,
Help please...thank you
Write the equation of the line parallel to y+4= 1/4(x+5) and passing through the point (8, 20). Write in the format y = mx + b
why did Henry leave the Catholic Church in the 1500's ?
Light-rail systems have been tried all over the country, and they've failed. Although the people who support them have noble intentions, sadly, the system the c
How did muckrakers influence government policy during the Progressive Era?
The expected average rate of return for a proposed investment of $800,000 in a fixed asset with a useful life of four years, straight-line depreciation, no resi