---
title: "Discussion on \"Object Oriented Programming in Java - Part 3\" | Hashnode"
description: "Discussion on \"Object Oriented Programming in Java - Part 3\". Q: What are 4 pillars of OOP ?A: Inheritance, Polymorphism, Encapsulation and Abstraction.\nQ: What is inheritance and why do we need it?A: What is the first picture that comes to your mind when I say \"Alcohol Beverage\". It could be anything like vodk..."
url: "https://hashnode.com/posts/object-oriented-programming-in-java-part-3/65424e1fabae3b68227cee0a"
---

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

Discussion

# [Object Oriented Programming in Java - Part 3](https://mayank1728.hashnode.dev/object-oriented-programming-in-java-part-3?utm_source=hashnode&utm_medium=feed)

Q: What are 4 pillars of OOP ?A: Inheritance, Polymorphism, Encapsulation and Abstraction. Q: What is inheritance and why do we need it?A: What is the first picture that comes to your mind when I say "Alcohol Beverage". It could be anything like vodk...

Nov 1, 2023 · 4 min read · mayank1728.hashnode.dev  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#java](https://hashnode.com/tag/java)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[Mayank Mudgal](https://hashnode.com/@Mayank1728)

@Mayank1728

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

FrontEndDeveloper and reader!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
