Why "private" methods in the object oriented ?
- by pointlesspolitics
I understand it is a very basic concept in the oops. But still I cannot get my head around. I understood why member variables are private, so class user cannot abuse it by setting up invalid values.
But how can this apply to the methods ?