My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more
Paras kaushik

72 reads

4 comments

Kiran Kanumuri
Kiran Kanumuri
May 4, 2024

Very nice topic

Small suggestion under inheritance. You may include

@Override` ensures that the compiler checks whether the method signature matches that of a method in the superclass. This helps catch errors where there might be typos in patent class method names

·
·1 reply
Paras kaushik
Paras kaushik
Author
·May 4, 2024

Thank you. Added to the article

·
Kiran Kanumuri
Kiran Kanumuri
May 4, 2024

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!

·
·1 reply
Paras kaushik
Paras kaushik
Author
·May 4, 2024

Thank you. Added to the article

·