---
title: "Discussion on \"Java's Primitive Data Types and Reference Data Types\" | Hashnode"
description: "Discussion on \"Java's Primitive Data Types and Reference Data Types\". Primitive Types\n\nThere are a total of 8 primitive types predefined and provided.\n\nAs they have default values, they do not have Null.\n\nThey are stored in the stack memory, which is the space for storing actual values.\n\nString is an object and not a p..."
url: "https://hashnode.com/posts/javas-primitive-data-types-and-reference-data-types/64c4588c1072c2ae899c2ad0"
---

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

Discussion

# [Java's Primitive Data Types and Reference Data Types](https://eunhanlee.hashnode.dev/javas-primitive-data-types-and-reference-data-types?utm_source=hashnode&utm_medium=feed)

Primitive Types There are a total of 8 primitive types predefined and provided. As they have default values, they do not have Null. They are stored in the stack memory, which is the space for storing actual values. String is an object and not a p...

Jul 29, 2023 · 2 min read · eunhanlee.hashnode.dev  
Read the article

-   [#programming-ciovqvfcb008mb253jrczo9ye](https://hashnode.com/tag/programming-ciovqvfcb008mb253jrczo9ye)
-   [#primitive-types](https://hashnode.com/tag/primitive-types)
-   [#reference-types](https://hashnode.com/tag/reference-types)
-   [#java-data-types](https://hashnode.com/tag/java-data-types)
-   [#memory-allocation](https://hashnode.com/tag/memory-allocation)

## Written by

[Han](https://hashnode.com/@EunHaSu)

@EunHaSu · VA, US

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

Java, Android, Algorithm

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
