int values[ ] = {1,2,3,4,5,6,7,8};

1.9 int values[ ] = {1,2,3,4,5,6,7,8};
for(int i=0;i< X; ++i)
System.out.println(values[i]);
Referring to the above, what value for X will print from all members of array "values"?
A) 1
B) 7
C) 8
D) None of the above

Leave a Reply