What will be the value of ‘val’ displayed when JSP page is accessed for the…
PYQ RPSC Programmer 2024
What will be the value of ‘val’ displayed when JSP page is accessed for the third time since server startup? <%! int val = 0; %> <% val++; %> <html><body><p> val: <%= val %> </p></body></html>
- A.
1
- B.
2
- C.
3
- D.
The value of val will remain 0
- E.
Question not attempted
Attempted by 215 students.
Sign up free to check your answer
Sign up freeLoading lesson…

