Examlex

Solved

What Is the Output of the Following Code

question 13

Essay

What is the output of the following code?
int[] numbers = new int[10];
forint i=0;i < numbers.length;++i)
numbers[i] = i * 2;
forint i=0;i < numbers.length;++i)
System.out.printnumbers[i] / 2 + " ");
System.out.println);


Definitions:

Related Questions