Interfaces and Dependency InversionWhy Real Java Systems Stay Flexible So far, we’ve covered: How objects protect themselves How objects relate using inheritance and composition How Java decides behavior at runtime using polymorphism Now we answer the most important design questi...4 min read·trinayreddy.hashnode.devFeb 10
Polymorphism and Dynamic DispatchLearn how Java uses polymorphism and dynamic dispatch to decide runtime behavior, avoid fragile designs, and build scalable, maintainable backend systems.3 min read·trinayreddy.hashnode.devFeb 4
Inheritance vs Composition in Java: Designing for ChangeLearn the difference between inheritance and composition in Java. Understand trade-offs, real backend examples, common mistakes etc..3 min read·trinayreddy.hashnode.devJan 3
Encapsulation in Java: Access Modifiers and Safe Object DesignUnderstand encapsulation in Java beyond theory. Learn how access modifiers work, why fields should be private, how to use getters and setters correctly.4 min read·trinayreddy.hashnode.devDec 23, 2025
Constructors in Java: Object Creation, this, and Initialization FlowLearn how constructors work in Java. Understand object creation, the role of the this keyword, constructor chaining, initialization order, common mistakes.4 min read·trinayreddy.hashnode.dev1Dec 22, 2025