🎴 Flashcard Mode
Java Web Programming and HTTP
Card1 / 5
Mastered0
Review0
QuestionClick to flip
What is the syntax for declaring a variable
AnswerClick to flip back
A
<%! %>
💡 Explanation:
In JavaServer Pages (JSP), the <%! ... %> syntax is a JSP declaration, which is used to declare variables or methods that are compiled into the generated servlet class. <%= ... %> is an expression, and <% ... %> is a scriptlet.