nerdexam
Oracle

1Z0-899 · Question #144

Which JSTL code snippet produces the output "big number" when X is greater than 42, but outputs "small number" in all other cases?

The correct answer is E. <c:choose>. See the full explanation below for the reasoning.

Question

Which JSTL code snippet produces the output "big number" when X is greater than 42, but outputs "small number" in all other cases?

Options

  • A<c:if test='<%= (X > 42) %>'>
  • B<c:if>
  • C<c:choose test='<%= (X > 42) %>'>
  • D<c:choose test='<%= (X > 42) %>'>
  • E<c:choose>

How the community answered

(58 responses)
  • A
    14% (8)
  • B
    2% (1)
  • C
    7% (4)
  • D
    3% (2)
  • E
    74% (43)

Community Discussion

No community discussion yet for this question.

Full 1Z0-899 Practice