getters&setters
Getters and setters are special methods used to access and modify object properties with custom behavior. Getters are used to retrieve the value of a property, and setters are used to assign a value to a property. They allow you to control how properties are accessed and modified, enabling data validation, computations, or side effects. Getters and setters are particularly useful for maintaining data integrity and encapsulation in objects.