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

How did the idea of humanism lead to the Scientific Revolution?
In The Wealth of Nations, Adam Smith gave all of the following roles to government, EXCEPT a. protection (the army). c. religion (the church). b. defense (th
What two parts does a measurement have?
What's 4 3/9 + 6 5/7?
simplify(5p^2-3)+ (2p^2-3p^3)
Would you concidder 18.88 good BMI for a 13 year old?
A square has sides of x-.4.Write an expression for the perimeter of that square. Simplify the expression.
What change was taking place in how the colonists saw themselves?
The merge process involves which two types of files? a. Mail merge template and mailings b. Primary and secondary c. Text and merge fields d. Main document
In Franz Kafka’s The Metamorphosis, why does the protagonist dislike his job? A. Because he prefers to stay home and listen to his sister play the violin B. Be