---
title: "Discussion on \"Day 7- Is Java pass by value or reference?\" | Hashnode"
description: "Discussion on \"Day 7- Is Java pass by value or reference?\". Again Java passes variables in functions similar to js.\nCheck out the detailed explanations here.\nhttps://blog.sanjaybabu.dev/day-6-javascript-pass-by-value-or-reference\nPass by Value\nAll primitive data types are passed by value in java.\nclass passBy..."
url: "https://hashnode.com/posts/day-7-java-pass-by-value-or-reference/6276a47e317fc95a74ca862f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Day 7- Is Java pass by value or reference?](https://blog.sanjaybabu.dev/day-7-java-pass-by-value-or-reference?utm_source=hashnode&utm_medium=feed)

Again Java passes variables in functions similar to js. Check out the detailed explanations here. https://blog.sanjaybabu.dev/day-6-javascript-pass-by-value-or-reference Pass by Value All primitive data types are passed by value in java. class passBy...

May 7, 2022 · 1 min read · blog.sanjaybabu.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Sanjay Babu](https://hashnode.com/@sanjaybabu)

@sanjaybabu · Chennai, India

  
[View profile](https://hashnode.com/@sanjaybabu)

Full stack Web developer

I am a full-stack web developer who has been coding since 2014. Have been part of developing and maintaining large-scale web-based enterprise software for over 3 years.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
