---
title: "Discussion on \"Using the Builder pattern to create objects in java\" | Hashnode"
description: "Discussion on \"Using the Builder pattern to create objects in java\". Let's say we want to create an immutable class in Java, but there are just way too many fields to keep track of!! We could go the traditional way, and declare a parameterized constructor, along with getters and setters. But this would get real tediou..."
url: "https://hashnode.com/posts/using-the-builder-pattern-to-create-objects-in-java/629229170989e6b52feaf78f"
---

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

Discussion

# [Using the Builder pattern to create objects in java](https://bhattacharya.hashnode.dev/using-the-builder-pattern-to-create-objects-in-java?utm_source=hashnode&utm_medium=feed)

Let's say we want to create an immutable class in Java, but there are just way too many fields to keep track of!! We could go the traditional way, and declare a parameterized constructor, along with getters and setters. But this would get real tediou...

May 28, 2022 · 2 min read · bhattacharya.hashnode.dev  
Read the article

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

## Written by

[Sourya Bhattacharya](https://hashnode.com/@BlackCoffeeIsEpic)

@BlackCoffeeIsEpic

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

Full Stack Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
