---
title: "Discussion on \"Encapsulation, Polymorphism and Inheritance - The Tricky Trio\" | Hashnode"
description: "Discussion on \"Encapsulation, Polymorphism and Inheritance - The Tricky Trio\". TL;DR:\n\nEncapsulation - Restricting what properties can be called, viewed and set by an object\nPolymorphism - Changing an object based on the parameters given to it\nInheritance - Accessing properties from a class' parent to avoid rewriting code\n\nIntr..."
url: "https://hashnode.com/posts/encapsulation-polymorphism-and-inheritance-the-tricky-trio/62813d2dbc9305ec393658d8"
---

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

Discussion

# [Encapsulation, Polymorphism and Inheritance - The Tricky Trio](https://vinven.hashnode.dev/encapsulation-polymorphism-and-inheritance-the-tricky-trio?utm_source=hashnode&utm_medium=feed)

TL;DR: Encapsulation - Restricting what properties can be called, viewed and set by an object Polymorphism - Changing an object based on the parameters given to it Inheritance - Accessing properties from a class' parent to avoid rewriting code Intr...

May 15, 2022 · 6 min read · vinven.hashnode.dev  
Updated May 29, 2022  
Read the article

-   [#oop](https://hashnode.com/tag/oop)
-   [#object-oriented-programming](https://hashnode.com/tag/object-oriented-programming)
-   [#java](https://hashnode.com/tag/java)
-   [#csharp](https://hashnode.com/tag/csharp)
-   [#inheritance](https://hashnode.com/tag/inheritance)

## Written by

[Daniel McPherson](https://hashnode.com/@Vinven)

@Vinven

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
