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 statement is not true about an adverb?  A.It always ends in -ly. B.It usually modifies a verb.  C.It can modify another adverb. D.Its position in a senten
This popular political pamphlet is considered the origins of the communist system of government.  AnswerCapitalCommunist ManifestoWealth of Nationsnone of the a
Why do you think parents accord less priority to girls education as compared to boys
what process was necessary to grow crops on a regular basis in  Mesopotamia
Solve the equation and check your answer. 3-5b+2b=-2-2(1-b)
Construct a food chain for each list of organisms below.. moose, fish, osprey, black fly, grass.. grass, wolf, mosquito, deer, dragonfly
Who was Lancelot? How did he fit into the Arthurian legends?
What happened between Catherine Thompson Hogarth and Charles Dickens in 1858 and why?
how do we write 2.51 in expanded form and in word form
v= 1 over 3 [tex]v = 1 over 3 \pi r x^{2}h for h [/tex]