| Author |
Final Mock Test Question 26 Head First and Servlets
|
Mohit G Gupta
Ranch Hand
Joined: May 18, 2010
Posts: 634
|
|
Which of the following lines of code, if inserted independently at Line 5, will cause the text
within the c therwise tag to display? (Choose all that apply)
A. books.add("");
B. books.add(null);
C. books.clear();
D. books.add("Head First");
E. books = null;
Correct answer are B,D
Options D,E makes the result of EL
return false and will cause the text
within the c therwise tag to display.
Moreover,
will cause the El to return True.
Correct answer should be D,E
|
OCPJP 6.0 93%
OCPJWCD 5.0 98%
|
 |
Mohit G Gupta
Ranch Hand
Joined: May 18, 2010
Posts: 634
|
|
Please Help me fellow ranchers.
|
 |
Frits Walraven
Rancher
Joined: Apr 07, 2010
Posts: 1066
|
|
Hi Mohit,
The correct answers should be C and E, check the errata
Regards,
Frits
|
 |
 |
|
|
subject: Final Mock Test Question 26 Head First and Servlets
|
|
|