(Choose 1 answer)
<%= if(Math.random() < 0.5) %>
What gets printed when the following JSP code is invoked in a browser? Select one correct answer.
hello
<%= } else { %>
hi
<%= } %>
A. The browser will print either hello or hi based upon the return value of random.
B. The string hello will always get printed.
C. The string hi will always get printed.
D. The JSP file will not compile.
FUOS
Mi
1