---
title: "Ashwath Narayan (@ashwallen4) | Hashnode"
description: "Question it & Explain it. Read the latest articles by Ashwath Narayan on Hashnode."
url: "https://hashnode.com/@ashwallen4"
---

@ashwallen4

# Ashwath Narayan

@ashwallen4 · Bangalore, India · Joined August 2026

Question it & Explain it

### [Primitive vs Reference Types in Java: The Mental Model I Wish I Had Earlier](https://ashwath.hashnode.dev/primitive-vs-reference-types-in-java-the-mental-model-i-wish-i-had-earlier?utm_source=hashnode&utm_medium=feed)

Understand Java primitive vs reference types with simple examples, object references, == vs equals(), pass-by-value, Garbage Collection.

8 min read · [ashwath.hashnode.dev](https://ashwath.hashnode.dev/primitive-vs-reference-types-in-java-the-mental-model-i-wish-i-had-earlier?utm_source=hashnode&utm_medium=feed)

[Aug 29](https://hashnode.com/posts/primitive-vs-reference-types-in-java-the-mental-model-i-wish-i-had-earlier/6a930193158aa2f75a8d265f)
