---
title: "Comment by Kiran Kanumuri on \"Object Oriented Programming in JAVA\" | Hashnode"
description: "Thank you for your excellent work on the topic! I have a small suggestion that could enhance your discussion on inheritance. You might consider including a note"
url: "https://hashnode.com/posts/object-oriented-programming-in-java/662c72e0ad5a5862e20b2915/comment/66359ed474d3bafcebf3cff0"
---

[Discussion](https://hashnode.com/posts/object-oriented-programming-in-java/662c72e0ad5a5862e20b2915)

Comment [Object Oriented Programming in JAVA](https://hashnode.com/posts/object-oriented-programming-in-java/662c72e0ad5a5862e20b2915)

[Kiran Kanumuri](https://hashnode.com/@contactkkiran)

[May 4, 2024](https://hashnode.com/posts/object-oriented-programming-in-java/662c72e0ad5a5862e20b2915/comment/66359ed474d3bafcebf3cff0)

Thank you for your excellent work on the topic! I have a small suggestion that could enhance your discussion on inheritance. You might consider including a note about the `@Override` annotation. It ensures that the compiler checks whether the method signature matches that of a method in the superclass, which helps catch errors caused by typos in superclass method names.

By incorporating this point, you can further highlight how `@Override` contributes to code reliability and reduces potential bugs. I hope this suggestion is helpful, and I look forward to seeing more of your content!

[Paras kaushik](https://hashnode.com/@paraskaushik)

[May 4, 2024](https://hashnode.com/posts/object-oriented-programming-in-java/662c72e0ad5a5862e20b2915/comment/66359ed474d3bafcebf3cff0#reply-6635e466920c49b03ce554c3)

Thank you. Added to the article
