Can we declare class level variables in a servlet?

Showing Answers 1 - 1 of 1 Answers

digvijayjpr

  • Oct 16th, 2006
 

Yes we can declare class level variable in a servlet but we can also use it in the class but as we know taht it is not in our hands to make the instaniate a servlet so cannot use that class level variable by instaniating the servlet or by callin the varianles by class name. 

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions