Java Reference
In-Depth Information
Local and parameter variables belong to a method. When the method runs, these
variables come to life. When the method exits, they die immediately (see Figure 7 ).
Figure 7
Lifetime of Variables
105
106
For example, if you call
Search WWH ::




Custom Search