Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 364 Bytes

File metadata and controls

11 lines (6 loc) · 364 Bytes

java Encapsulation Project 🚀

This is a simple Java project demonstrating Encapsulation — one of the core principles of Object-Oriented Programming (OOP).

📌 Project Description

In this project, we have a Human class that encapsulates its data using:

  • Private variables (name, age, grade)
  • Public getter and setter methods to access and modify data.