---
title: "Discussion on \"Design Patterns in Java\" | Hashnode"
description: "Discussion on \"Design Patterns in Java\". Design patterns in Java are categorized into three main types:\n1. Creational Patterns\nThese deal with object creation, ensuring flexibility and control.\n\nSingleton Pattern: Ensures only one instance of a class is created.\n\nExample: A class to manage ..."
url: "https://hashnode.com/posts/design-patterns-in-java/6745c72fa9c0de455e046ccf"
---

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

Discussion

# [Design Patterns in Java](https://javainterviewprep.hashnode.dev/design-patterns-in-java?utm_source=hashnode&utm_medium=feed)

Design patterns in Java are categorized into three main types: 1. Creational Patterns These deal with object creation, ensuring flexibility and control. Singleton Pattern: Ensures only one instance of a class is created. Example: A class to manage ...

Nov 26, 2024 · 5 min read · javainterviewprep.hashnode.dev  
Updated Nov 27, 2024  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#design-pattern-java](https://hashnode.com/tag/design-pattern-java)
-   [#interview](https://hashnode.com/tag/interview)

## Written by

[Mihai Popescu](https://hashnode.com/@mihaipopescovic)

@mihaipopescovic

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
