---
title: "Discussion on \"Constructor In JAVA\" | Hashnode"
description: "Discussion on \"Constructor In JAVA\". Constructor\nConstructors are used to initialize the object. Constructors have the same name as the class name and do not have a return type. We can use the access modifiers with a constructor. Access modifiers define the visibility of constructors to..."
url: "https://hashnode.com/posts/constructor-in-java/62660f815dd5677e9b8df6f6"
---

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

Discussion

# [Constructor In JAVA](https://mariamchaudhary.hashnode.dev/constructor-in-java?utm_source=hashnode&utm_medium=feed)

Constructor Constructors are used to initialize the object. Constructors have the same name as the class name and do not have a return type. We can use the access modifiers with a constructor. Access modifiers define the visibility of constructors to...

Apr 25, 2022 · 5 min read · mariamchaudhary.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programing](https://hashnode.com/tag/programing)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#programmer](https://hashnode.com/tag/programmer)

## Written by

[Mariam Hameed](https://hashnode.com/@mariamChaudhry)

@mariamChaudhry · Islamabad, Pakistan

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

Programmer | Pencil Artist | Love to Learn New Things

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
