# Java & Object-Oriented Software Design

> A complete guide to Object-Oriented Programming (OOP) in Java, from conceptual foundations to robust encapsulation.

- Canonical URL: https://shafinchowdhury.dev/topics/java/
- Author: Shafin Chowdhury (https://shafinchowdhury.dev/about/)

Object-Oriented Programming is the backbone of modern enterprise software and system design. This series guides you through Java's OOP model step by step—from the overarching philosophy of objects to class blueprints and strict encapsulation.

## Curated Learning Path

1. **[Beginner]** [OOP in Java: The Complete Conceptual Story](https://shafinchowdhury.dev/posts/oop/) ([Markdown](https://shafinchowdhury.dev/posts/oop.md)) — Understand why procedural code breaks down at scale and how OOP models the real world.
2. **[Beginner]** [Classes and Objects: Building Your First Class](https://shafinchowdhury.dev/posts/class-object/) ([Markdown](https://shafinchowdhury.dev/posts/class-object.md)) — Translate concepts into Java code: instantiating objects, understanding constructors, and state.
3. **[Intermediate]** [Encapsulation: Protecting Internal State](https://shafinchowdhury.dev/posts/elcapsulation/) ([Markdown](https://shafinchowdhury.dev/posts/elcapsulation.md)) — Enforce class invariants with private fields, validation getters/setters, and immutable design patterns.

## Articles by Category

### OOP Mental Model

Core paradigm shifts and conceptual foundations for students.

- [Part 1: Object-Oriented Programming in Java: A Complete Story for Students](https://shafinchowdhury.dev/posts/oop/): What object-oriented programming is and why it exists: the trouble with procedural code, objects as real-world models, and the four pillars of OOP in Java. ([Markdown](https://shafinchowdhury.dev/posts/oop.md))

### Class Blueprints & Instantiation

Writing classes, initializing objects, and managing instance state.

- [Part 2: Classes and Objects — Building Your First Java Class](https://shafinchowdhury.dev/posts/class-object/): Build your first Java class: create objects, access fields and methods, initialize them with constructors, and use this and static members correctly. ([Markdown](https://shafinchowdhury.dev/posts/class-object.md))

### Encapsulation & Data Protection

Access modifiers, defensive copying, and data integrity safeguards.

- [Part 3: Encapsulation — Protecting Your Data](https://shafinchowdhury.dev/posts/elcapsulation/): Encapsulation in Java, step by step: access modifiers, why fields start private, getters and setters, and when a domain method beats a setter. ([Markdown](https://shafinchowdhury.dev/posts/elcapsulation.md))
