Question 16 :

Which of the following classes define the printf() method? 
Select two choices.


Picture


Question 17 :

Which code fragment produces the same output as the following code? 
Picture
Choose one answer. 

a. for (int i = 1; i <= 10; i++) 
System.console().print("%d", i); 
b. for (int i = 1; i <= 10; i++) 
System.console().println("%d", i); 
c. for (int i = 1; i <= 10; i++) 
System.console().write("%d", i); 
d. for (int i = 1; i <= 10; i++) 
System.console().format("%d", i);

Question 18 :

Which of the following methods are defined by the Serializable interface?
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.