ke setHe…To design using a more object-oriented way, we can have getter and setter methods for the following. We can have getter methods like getName(), getHeight(), getWeight() etc. We can have setter methods like setHeight(), setWeight(), setName() etc. There could be other methods like talk(), cheer(), laugh() which are neither getter nor setter meth…
very nice article !
Why would you start describing an object by its setters and getters ?