local variable : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

local variable
A variable known only within a method and then only downstream of where it is defined and inside any block in which it was defined. Like parameters local variable are stored on the stack and are automatically disappear as soon as the method returns.

Local variables are faster than static and instance variables. Use them in preference to static and instance variables, except, of course, when are using the variable to communicate between methods, or define static final constants.


This page is posted
on the web at:

http://mindprod.com/jgloss/localvariable.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\localvariable.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[54.227.14.23]
You are visitor number