12345678910



Question 1: What numbers does the code that follows print to the console?
int[] numbers = {1, 2, 3, 4, 5, 6, 7, 8, 9};
for (int i = 0; i < 8; i++) {
System.out.println(numbers[i]);
}

1. 0-9
2. 0-8
3. 1-9
4. 1-8



trainingtrainstrainingtrainstrainingtrainstrainingtrainstrainingtrainstrainingtrainstrainingtrains trainingtrains