CS212 - Object Oriented Programming-Week4
CS212 - Object Oriented Programming-Week4
Oriented
Programming
• To protect data.
• To make class easy to maintain.
• The get and set methods are used to read and
modify private properties.
Question/
Answers