Re: variables?
On Mon, 31 Oct 2005 05:55:49 GMT, "Michael" <mbialowas@xxxxxxx> wrote,
quoted or indirectly quoted someone who said :
>My understanding is
>instance variables become the state of a object, whereas local variables
>work with the methods. Can anyone verify this. Thanks again
see
http://mindprod.com/jgloss/scope.html
and follow links.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.
Relevant Pages
- Re: Object reference
... public void manage{ ... On your list of things to study and try, put instance variables (also known ... // Declare local variables here. ... // Do some things with local variables. ... (comp.lang.java.programmer) - Re: ruby1.9 block scope
... dynamically generated _unique_ classes bound to the current context ... different scopes containing instance variables to that current context. ... for local variables that have been assigned to before the code blocks. ... (comp.lang.ruby) - Re: cannot get attr_accessor to work
... On Wed, 21 Jan 2009, Tom Cloyd wrote: ... nut. ... Ruby is interpreting log and logging_now as local variables. ... post make it clear that I'm dealing with instance variables? ... (comp.lang.ruby) - variables?
... I need some reinforcement with variables. ... Are instance variables the same as fields(which are found outside a method, ... And local variables are found within methods. ... Prev by Date: ... (comp.lang.java.help) - Re: Identifying fields of a class
... make them instance variables" applies only to Components perhaps? ... Obviously local variables ... The reason is mainly for documentation. ... Tom Hawtin ... (comp.lang.java.programmer) |
|