File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Sep 18, 2001
Nov 12, 2001 22:27:00
why local variables should not be static?
Joined: Aug 26, 2000
Nov 13, 2001 00:00:00
well.. local var is local var. It will be gone when the method
Any attribute that has the static modifier applies to the entire class as a whole. Its like a global var. You can use it globally.
hope this help.
Don't get me started about those stupid
subject: static variable
Static Local Variable
why should local variable initialise before using them, why not for instance variable
Need help in installing Khalid's mock exam
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015