---
title: "Discussion on \"Design Hints for Inheritance in Java\" | Hashnode"
description: "Discussion on \"Design Hints for Inheritance in Java\". Some hints that we have found useful when using inheritance.\nI.  Place common operations and fields in the superclass.\nInstead of replicating each field in subclasses, we should put common fields and methods on the superclass.\nII. Don’t use protected..."
url: "https://hashnode.com/posts/design-hints-for-inheritance-in-java/622dad1bdf08b9b8234188e7"
---

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

Discussion

# [Design Hints for Inheritance in Java](https://phamduyhieu.com/design-hints-for-inheritance-in-java?utm_source=hashnode&utm_medium=feed)

Some hints that we have found useful when using inheritance. I. Place common operations and fields in the superclass. Instead of replicating each field in subclasses, we should put common fields and methods on the superclass. II. Don’t use protected...

Mar 13, 2022 · 3 min read · phamduyhieu.com  
Read the article

## Written by

[Hiếu Phạm Duy](https://hashnode.com/@hieupd)

@hieupd · Singapore

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

Senior Software Engineer

Welcome to my blog. I'm Duy Hieu, Senior Software Engineer at Integro Lending (Singapore). I created this blog to share my stories.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
