Use of Properties

Get to learn about the use of properties.

Properties are not absolutely necessary

We saw in the previous lesson how Rectangle can be used as if it has a third member variable. However, regular member functions could also be used instead of properties:

Get hands-on with 1400+ tech skills courses.