Properties allow validation code to execute when values are accessed or changed.This allows you to impose some measure of control over when and how
values are read or changed. Fields cannot perform validation when being
read or set
Asked In: Many Interviews |
Alert Moderator