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 all methods are used to prevent thread execution ?
What is core java used for?
List down the methods and interfaces of collection class in java.
What does it mean that a class or member is final?
How do you sort words in java?
What are the features of java?
what is the constructor and how many types of constructors are used in java?
What does isempty () do in java?
What is object english?
Explain the scope of a variable.
What is the difference between variable declaration and variable initialization?
Can we override a variable in java?
What is the significance of listiterator?
What is the purpose of interface?
What is meant by javabeans?