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 sortedset in java?
What are assembly attributes?
What are the methods used to implement for the key object in the hash map?
How can we make string upper case or lower case?
What is the purpose of the system class in java programming?
Is java map thread safe?
What initialize variables?
How a string is stored in memory?
What is java regex?
Why do we use predicate in java?
What is a vector in java?
Is there any difference between nested classes and inner classes?
What is the use of keywords in java?
What is array command?
What is difference between next () and nextline () in java?