Multiple Choices
Answer (Choose 1 answer)
Ex
For what reason does the following JSP fail to translate and compile?
<html>
<body>
<%! int x; %>
<%
public String getDescription() { return "JAD Final Test";
} %>
<%=getDescription() %>
</body>
</html>
A. Expression embedded in declaration.
B. Data member x not initialized before use.
C. Local variable x not initialized before use.
D. The page actually compiles and translates without any problem.
E. Method declared in scriptlet.