in reply to Re: Re: Make your classes use their own methods
in thread Make your classes use their own methods
I think you have missed the distinction made about internal vs external access. That java-world article is talking about get/set methods that are exposed to the world outside of the object. Within an object/class, accessors are the preferred way to manipulate attribute data, and this thread has been discussing access within the class.
|
|---|