Question 12 / 28:  class Eggs {

int doX(Long x, Long y) { return 1; }

int doX(long... x) { return 2; }

int doX(Integer x, Integer y) { return 3; }

int doX(Number n, Number m) { return 4; }

public static void main(String[] args) {

new Eggs().go();

}

void go() {

short s = 7;

System.out.print(doX(s,s) + " ");

System.out.println(doX(7,7));

} }

What is the result?

A  7 7
B  3 4
C  4 3
D  4 7
E  1 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 Exam
Vanessa Soledad
Start Exam
Candice Butts
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>