Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

Packages

Contributors

Languages