HOT SPOTS
Oracle Java Quiz 1
Page 1 of 14
This practice test contains 15 java questions with answer explanations to help you test your Java skills and prepare for the Oracle Certified Associate - Java Programmer exam.
Question 1:
Given
1. int []a = {1,2,3,4,5,6};
2. inti = a.length - 1;
3.
4. while(i>=0){
5. System.out.print(a[i]);
6. i--;
7. }
What is the result?
- Prev
- Next >>