Loading subject…
Access modifiers
Keywords that define the visibility and accessibility of class members (variables and methods).
Encapsulation
An OOP principle where data (attributes) and the methods that operate on it are bundled together within a class, while restricting direct access to the data to protect it from unintended interference.
Getters
Methods used to retrieve the value of private attributes.
Setters
Methods used to update the value of private attributes (in a controlled way).