Files
developer-roadmap/roadmaps/java/content/nested-classes@zDBW20W2XMCtNTG3emJ_A.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

8 lines
579 B
Markdown

# Nested Classes
Nested classes are classes defined inside another class. The class that contains the inner class is known as the outer class. Nested classes can access members of the outer class, even if they are declared private. They are a way to logically group classes that are only used in one place, increasing encapsulation and maintainability.
Visit the following resources to learn more:
- [@article@Java Nested Classes](https://jenkov.com/tutorials/java/nested-classes.html)
- [@article@Guide to Nested Classes in Java](https://www.baeldung.com/java-nested-classes)