local scope : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

local scope
a variable declared inside a method that lives only while that method is executing. A variable not a class variable nor an instance variable. It is not visible outside that method. Some Java compilers have a limit of only 31 local variables per method. Watch out.

If there are two threads running a method at once, there are two sets of local variables.

Local variables are sometimes called temporary variables, stack variables or method variables.


This page is posted
on the web at:

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

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

J:\mindprod\jgloss\localscope.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.145.58.37]
You are visitor number