---
title: "Discussion on \"Ever Confused Between Objects References and Primitives?\" | Hashnode"
description: "Discussion on \"Ever Confused Between Objects References and Primitives?\". Even this is from very basics, there are still some sudden points which I got confused about the return value. If you ever expected a 58.2 as the output and the written program gave you \"dinosaur\" as the output, Yes you're in the right topic and I su..."
url: "https://hashnode.com/posts/ever-confused-between-objects-references-and-primitives/62bf32c6ccecfb25bbc710db"
---

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

Discussion

# [Ever Confused Between Objects References and Primitives?](https://blog.thaveesha.me/ever-confused-between-objects-references-and-primitives?utm_source=hashnode&utm_medium=feed)

Even this is from very basics, there are still some sudden points which I got confused about the return value. If you ever expected a 58.2 as the output and the written program gave you "dinosaur" as the output, Yes you're in the right topic and I su...

Jul 1, 2022 · 3 min read · blog.thaveesha.me  
Updated Jul 26, 2022  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#basics](https://hashnode.com/tag/basics)
-   [#primitive](https://hashnode.com/tag/primitive)
-   [#objects](https://hashnode.com/tag/objects)

## Written by

[Thaveesha Kuruppuarachchi](https://hashnode.com/@thaveeshaK)

@thaveeshaK

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
