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
Is java a virus?
What is a local class in java?
What is default locale java?
What is the advantage of OOP in java?
What is a priority queue java?
Can a function return a function?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is not thread safe?
Explain where variables are created in memory?
Differences between external iteration and internal iteration?
What is unicode used for?
How do generics work?
Is there any tag in htm to upload and download files?
What is int short for?
Can we override protected method in java?