+ 2
Why we need the seter and geter for given the value to a tribute? ?
if we will give a value to the variable at the end..what the need of get and set method..I can't understand the point of it!!
1 Answer
+ 1
Many good reasons here.
http://stackoverflow.com/questions/1568091/why-use-getters-and-setters