Contact Us
|
Contribute
|
Ask Question
|
login
Subscribe Us
91-9990449935
0120-4256464
Java
T
point
Home
Java
C
SQL
Android
PHP
HTML
CSS
XML
JavaScript
Ajax
Cloud
Python
Web Services
Quiz
Projects
Interview Q
Comment
Forum
Training
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
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