| IT Certification Practice Exams | HOME | Cisco | CompTIA | CheckPoint | CIW | Microsoft | Books | Bootcamp | Buy Now! |
Java Certification: SCJP - Sun Certified Java Programmer Exam
Practice Questions: Exam SCJP 1.4 (beta)
|
|
|
|
Q9. What happens when the following code
is compiled and run. Select the one correct for(int i = 1; i < 3; i++)
|
||
|
A. The class compiles and runs, but does not print anything. B. The number 1 gets printed with AssertionError C. The number 2 gets printed with AssertionError D. The number 3 gets printed with AssertionError E. The program generates a compilation error. |
||
|
Correct Answer: B
|
||
|
Explanation:
|
||
Email: test@simulationexams.com