Solved

What Is the Output of the Following Java Code? Int[]

Question 44

Multiple Choice

What is the output of the following Java code? int[] list = {0, 5, 10, 15, 20}; for (int j = 0; j < 5; j++) System.out.print(list[j] + " ") ; System.out.println() ;


A) 0 1 2 3 4
B) 0 5 10 15 20
C) 0, 5, 10, 15, 20
D) 0 5 10 15

Correct Answer:

verifed

Verified

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

Related Questions