Solved

What Will Be Printed by the Statements Below

Question 113

Multiple Choice

What will be printed by the statements below?
Int[] values = { 10, 20, 30, 7};
Int[] numbers = values;
Numbers[2] = 24;
Values[3] = numbers[0] + 6;
System.out.println (numbers[2] + " " + numbers[3] + " "
+ values[2] + " " + values[3]) ;


A) 24 0 30 16
B) 24 0 30 6
C) 24 7 30 16
D) 24 16 24 16

Correct Answer:

verifed

Verified

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

Related Questions