Answer Posted / srinu
yes we declare the varible as static in a jsp.we declare the
static varible in the declaration tag.
ex:-
<%! static int a=10;%>
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What is meant by anonymous class?
What does regex mean?
What is json parser in java?
Write a program in java to establish a connection between client and server?
What do you understand by final value?
What is a package in java? List down various advantages of packages.
What is a treemap in java?
What is a flag and how does it work?
What is the difference between a loader and a compiler?
What advantage do java's layout managers provide over traditional windowing systems?
Which collection is sorted in java?
What is meant by overloading?
What is nested interface?
Is java 9 released?
What is io stream in java?