---
title: "Discussion on \"How to make immutable class in Java\" | Hashnode"
description: "Discussion on \"How to make immutable class in Java\". Java documentation itself has some guidelines identified to write immutable classes. We will try to understand what these guidelines mean actually by creating an immutable class with mutable object with Date field.\nA Strategy for Defining Immutable O..."
url: "https://hashnode.com/posts/how-to-make-immutable-class-in-java/60a64cf54e7f9549fc330c7b"
---

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

Discussion

# [How to make immutable class in Java](https://bathiniramesh.hashnode.dev/how-to-make-immutable-class-in-java?utm_source=hashnode&utm_medium=feed)

Java documentation itself has some guidelines identified to write immutable classes. We will try to understand what these guidelines mean actually by creating an immutable class with mutable object with Date field. A Strategy for Defining Immutable O...

May 20, 2021 · 4 min read · bathiniramesh.hashnode.dev  
Read the article

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

## Written by

[Ramesh Bathini](https://hashnode.com/@bramesh)

@bramesh · Hyderabad, India

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

Passionate software engineer. Mostly I write about java related technologies and how to become a better developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
