Hello. Need some help. From the code below, JSP should print "True" only if the combination of A and C is submitted. All other false. It does not work though (even my teacher was lost

).
Excuse me, I'm new to this.
Thanks
HTML
Code:
<form method="get" action="index.jsp">
Question:<br>
a) Answer A <input type="checkbox" name="question" value="a"><br>
b) Answer B <input type="checkbox" name="question" value="b"><br>
c) Answer C <input type="checkbox" name="question" value="c"><br>
<input type="submit">
</form>
JSP
Code:
<%
if (request.getParameter("question").equals("a") & request.getParameter("question").equals("c")) {
out.print("True");
} else {
out.print("False");
}
%>
also tried
Code:
<%!
String[] question;
%>
<%
question = request.getParameterValues("question");
if (question[0] == "a" & question[1] == "c") {
out.print("True");
} else {
out.print("False");
}
%>