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: 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: 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)
  • 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: "static" prefix - to parallel "this" prefix
    ... Tim Tyler wrote: ... > This forces you to distinguish between local variables, ... > instance variables and static variables in you code - ...
    (comp.lang.java.programmer)
  • Re: variables?
    ... Michael wrote: ... My understanding is instance variables become the state of a object, whereas local variables work with the methods. ... If you declare such a variable as ...
    (comp.lang.java.help)