---
title: "Trinay Reddy Malireddy (@Trinay) | Hashnode"
description: "Learning By Breaking. Read the latest articles by Trinay Reddy Malireddy on Hashnode."
url: "https://hashnode.com/@Trinay"
---

@Trinay

# Trinay Reddy Malireddy

@Trinay · Joined October 2025

Learning By Breaking

### [Interfaces and Dependency Inversion](https://trinayreddy.hashnode.dev/interfaces-and-dependency-inversion?utm_source=hashnode&utm_medium=feed)

Why 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.dev](https://trinayreddy.hashnode.dev/interfaces-and-dependency-inversion?utm_source=hashnode&utm_medium=feed)

[Feb 10](https://hashnode.com/posts/interfaces-and-dependency-inversion/698aa9d8c3ddc2b1fed1f52c)

### [Polymorphism and Dynamic Dispatch](https://trinayreddy.hashnode.dev/polymorphism-and-dynamic-dispatch?utm_source=hashnode&utm_medium=feed)

Learn 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.dev](https://trinayreddy.hashnode.dev/polymorphism-and-dynamic-dispatch?utm_source=hashnode&utm_medium=feed)

[Feb 4](https://hashnode.com/posts/polymorphism-and-dynamic-dispatch/6983514b502a46c83449f6c0)

### [Inheritance vs Composition in Java: Designing for Change](https://trinayreddy.hashnode.dev/inheritance-vs-composition-in-java-designing-for-change?utm_source=hashnode&utm_medium=feed)

Learn the difference between inheritance and composition in Java. Understand trade-offs, real backend examples, common mistakes etc..

3 min read · [trinayreddy.hashnode.dev](https://trinayreddy.hashnode.dev/inheritance-vs-composition-in-java-designing-for-change?utm_source=hashnode&utm_medium=feed)

[Jan 3](https://hashnode.com/posts/inheritance-vs-composition-in-java-designing-for-change/69587d2078517760d03c9a49)

### [Encapsulation in Java: Access Modifiers and Safe Object Design](https://trinayreddy.hashnode.dev/encapsulation-in-java-access-modifiers-and-safe-object-design?utm_source=hashnode&utm_medium=feed)

Understand 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.dev](https://trinayreddy.hashnode.dev/encapsulation-in-java-access-modifiers-and-safe-object-design?utm_source=hashnode&utm_medium=feed)

[Dec 23, 2025](https://hashnode.com/posts/encapsulation-in-java-access-modifiers-and-safe-object-design/694a0ab00866cc1074bac0be)

### [Constructors in Java: Object Creation, this, and Initialization Flow](https://trinayreddy.hashnode.dev/constructors-in-java-object-creation-this-and-initialization-flow?utm_source=hashnode&utm_medium=feed)

Learn 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.dev](https://trinayreddy.hashnode.dev/constructors-in-java-object-creation-this-and-initialization-flow?utm_source=hashnode&utm_medium=feed)

[Dec 22, 2025](https://hashnode.com/posts/constructors-in-java-object-creation-this-and-initialization-flow/6948b4371bf8b4ffb6fcd7a6)
