When an object is created and one of its public methods is called it can use local attribute. Where are they stored? I mean, in a language like C, it's all clear: variables to be used have to be passed to functions as parameters (or have to be global).
What does it happen in Java (and maybe other OO languages)? How can be instance's attributes used by local methods?


Check Solution