---
title: "Discussion on \"Kotlin OOP - Parenthesis After Parent Class ?\" | Hashnode"
description: "Discussion on \"Kotlin OOP - Parenthesis After Parent Class ?\". When I was learning Kotlin OOP, I was wonder why is parenthesis behind the name of parent class is needed when extending a class in Kotlin?\nFor example:\nIf we create a Animal parent class:\nopen class Animal()\nThen we make child class Cat extend Anima..."
url: "https://hashnode.com/posts/kotlin-oop-parenthesis-after-parent-class/603330d872a689446db3f69d"
---

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

Discussion

# [Kotlin OOP - Parenthesis After Parent Class ?](https://jinyuwu.hashnode.dev/kotlin-oop-parenthesis-after-parent-class?utm_source=hashnode&utm_medium=feed)

When I was learning Kotlin OOP, I was wonder why is parenthesis behind the name of parent class is needed when extending a class in Kotlin? For example: If we create a Animal parent class: open class Animal() Then we make child class Cat extend Anima...

Feb 22, 2021 · 3 min read · jinyuwu.hashnode.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#oop](https://hashnode.com/tag/oop)

## Written by

[Jinyu Wu](https://hashnode.com/@jinyuwu6)

@jinyuwu6 · Nashville, TN

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

Junior Android Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
