Question 2 / 28:  class Foozit {

public static void main(String[] args) {

Integer x = 0;

Integer y = 0;

for(Short z = 0; z < 5; z++)

if((++x > 2) || (++y > 2))

x++;

System.out.println(x + " " + y);

}

}

A  6 3
B  4 2
C  8 4
D  8 2
<< First < Previous Flashcard Next > Last >>
Quiz Home Page
https://www.jobilize.com/prateek-ashtikar-scjp-online-exam-310-065

SCJP Online Exam 310-065

Author:

Access: Public Instant Grading

Ask
Madison Christian
Start Quiz
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/prateek-ashtikar-scjp-online-exam-310-065" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>