Files
developer-roadmap/roadmaps/java/content/encapsulation@iH9wSsOK4a77pS7U0Yu5z.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

7 lines
588 B
Markdown

# Encapsulation
Encapsulation is a fundamental concept in object-oriented programming where data and the methods that operate on that data are bundled together as a single unit. This unit, often a class, hides the internal state of the object from the outside world and only exposes a controlled interface for interacting with it. This protects the data from accidental modification and allows for easier maintenance and modification of the code.
Visit the following resources to learn more:
- [@article@Java - Encapsulation](https://www.tutorialspoint.com/java/java_encapsulation.htm)