what is the meaning of PRIVATE members
i think one of their purpose is to protect us from wrongly changing them, am i right?
what is the meaning of PRIVATE members
i think one of their purpose is to protect us from wrongly changing them, am i right?
they're members that aren't accessible outside the class. yes, the primary purpose is to prevent someone from mucking up members that are critical to using the object; another is to keep the interface relevant, clean, and uncluttered.