---
title: "Discussion on \"Constructors in Kotlin: How Do They Differ from Java?\" | Hashnode"
description: "Discussion on \"Constructors in Kotlin: How Do They Differ from Java?\". In Java, we can easily declare one or more constructors using the class name with different parameters, and there is no hierarchy of constructors. For example:\nclass Student {\n\n    Student() { }\n\n    Student(int name, int class) { }\n\n    Student(int ..."
url: "https://hashnode.com/posts/constructors-in-kotlin-how-do-they-differ-from-java/650330286ac04343e53b17ba"
---

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

Discussion

# [Constructors in Kotlin: How Do They Differ from Java?](https://androidwithom.hashnode.dev/constructors-in-kotlin-how-do-they-differ-from-java?utm_source=hashnode&utm_medium=feed)

In Java, we can easily declare one or more constructors using the class name with different parameters, and there is no hierarchy of constructors. For example: class Student { Student() { } Student(int name, int class) { } Student(int ...

Sep 14, 2023 · 2 min read · androidwithom.hashnode.dev  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#constructor](https://hashnode.com/tag/constructor)
-   [#java](https://hashnode.com/tag/java)

## Written by

[Om Jee Mishra](https://hashnode.com/@omjeem)

@omjeem · Uttar Pradesh, India

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

Tech Talk: Simplifying the Complexities of Technology for Everyday Users

👋 Hello there! Namaste! 🙏 I'm an Android Developer from India 🇮🇳, on a mission to make tech simple and exciting. I love creating user-friendly Android apps and sharing what I learn. 🛠️ Simplifying Tech, One Blog at a Time Through my blogs, I break down complex tech stuff into easy, understandable nuggets. Whether it's coding tricks or the latest in Android, I'm here to help! 🚀 Let's Learn and Grow Together! Join me on this tech adventure. Let's learn, have fun, and make a difference in the world of tech, one line of code at a time! 💫

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
