<%
request.setAttribute("vals",new Sring[]{"1","2","3","4"});
request.setAttribute("index","2");
%>
<%-- insert code here --%>
Which three EL expressions inserted at line 15,are valid and evaluate to "3"?(Choose three)
a)${vals.2}
b)${vals["2"]}
c)${vals.index}
d)${vals[index]}
e)${vals}[index]
f)${vals.(vals.index)}
g)${vals[vals[index-1]]}
I have seen this qestion in the mock exam
I have confusion on these types of question.
Could you explain this question clearly.
The implicit objects are param,paramValues,header,headerValues,pageContext,......
But here we are not using any implicit object.Please explain clearly