Solved

What Will Be Printed by the Statements Below

Question 109

Multiple Choice

What will be printed by the statements below?
Int[] values = { 10, 24, 3, 64};
Int position = 0;
For (int i = 1; i < values.length; i++)
If (values[i] > values[position])
Position = i;
System.out.print (position) ;


A) 0
B) 1
C) 2
D) 3

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions