50+ Lifetime And Scope Of A Variable Pics. The lifetime of an instance variable is until the object stays in memory. If a variable is declared variables declared as public exist for the lifetime of the application.
Get more lessons like this at www.mathtutordvd.com in this lesson we discuss the concept of variable scope and lifetime in java.
Local variables, declared within procedures with the dim or private statement, live. Local variables, declared within procedures with the dim or private statement, live. The scope of a variable is the section of the application that can see and manipulate the variable. Lifetime of a variable a variable's lifetime is the period of time during which that variable exists during execution.

