Question 13 :


Before which of the following can the "synchronized" keyword be placed, without causing a compilation error?
Picture


Question 14 :


What will be the result of attempting to compile and run the following program? 
Picture
a. Prints "BA" 
b. Prints "AB"
c. Prints "Bmain" 
d. Prints "mainB" 
e. Output can be "Bmain" or "mainB" 
f. Output can be "BA" or "AB" 
g. Code does not compile


Question 15 :

Which of the following are true about the readPassword() method of the Console class? 

Select two choices.
Picture
<<<Previous Page         Next Page >>>


ALL about SCJP = SCJP 1.6, mock, certification, scjp 1.5 , scjp questions, scjp books, scjp hand written notes, scjp dumps, scjp trainings, scjp video tutorials, scjp simulators etc.