Encapsulation
This repository is about Encapsulation in Object-Oriented Programming (OOP).
Encapsulation is the concept of wrapping data (variables) and methods into one class and restricting direct access to some parts of the object using access modifiers.
What I learned
- How to use private variables
- How to use getters and setters
- Basic idea of data hiding in OOP
Example
- Simple class with private attributes
- Methods to access and update data safely
Purpose This project is for learning Encapsulation as part of my BSIT studies at Universidad de Zamboanga.