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 the base class in java from which all classes are derived?
What is the equal sign?
What is a void method java?
How do you convert int to char in java?
What is split return?
Is string pool garbage collected?
What are the core java topics?
what is synchronization and why is it important? : Java thread
Why declare Main() inside the class in java ?
If a class is declared without any access modifiers, where may the class be accessed in java programming?
What is comparable and comparator interface? List their differences
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
How do you sort data in java?
Explain access specifiers?
What is the difference between preparedstatement and statement in java?