Final Mock Test Question 26 Head First and Servlets
Which of the following lines of code, if inserted independently at Line 5, will cause the text
within the c:otherwise 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:otherwise tag to display.
Moreover,
will cause the El to return True.
Correct answer should be D,E