Skip to content

About

Encapsulation Practice

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

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.

About

Encapsulation Practice

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages