Question 10 / 28:  class Knowing {

static final long tooth = 343L;

static long doIt(long tooth) {

System.out.print(++tooth + " ");

return ++tooth;

}

public static void main(String[] args) {

System.out.print(tooth + " ");

final long tooth = 340L;

new Knowing().doIt(tooth);

System.out.println(tooth);

} }

A  340 341 343
B  341 343 340
C  343 341 340
D  compilation fails
<< 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
Edgar Delgado
Start Test
Yacoub Jayoghli
Start Quiz
Danielrosenberger
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>