OOP 3 OOP Principles: Inheritance, Polymorphism & More
In-depth guide to OOP principles like inheritance, polymorphism, encapsulation, and abstraction with real-world examples. π

Kunal Kushwaha
809.2K views β’ Nov 8, 2021

About this video
Important video for OOP interviews! The complete and in-depth explanation with real-world examples of #OOP principles such as Inheritance, Polymorphism, Encapsulation and Abstraction.
A detailed explanation of overloading vs overriding, encapsulation vs abstraction vs data hiding, types of inheritance and more!
Complete OOP playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcno1G3XjUbwzXHL8_EttOuKk
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
π Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
β‘οΈ Connect with me: http://kunalkushwaha.com
=========================================
0:00:00 Introduction
0:01:15 Principles of OOP
0:02:26 Inheritance
0:11:30 Example: Box
0:17:49 Explaination
0:23:31 "private" keyword
0:36:26 "super" keyword
0:48:00 Single Inheritance
1:00:17 Multiple Inheritance
1:04:25 Hierarchial Inheritance
1:07:28 Hybrid Inheritance
1:10:26 Polymorphism
1:12:53 Example: Shapes
1:19:27 Types of Polymorphism
1:19:57 Static Polymorphism
1:20:34 Overloading
1:28:02 Dynamic Polymorphism
1:29:24 Overriding
1:34:08 How Overriding Works?
1:39:05 How Java determines which method to run?
1:45:17 "final" keyword
1:50:49 Can we override static methods?
1:57:02 Encapsulation
1:58:22 Abstraction
2:00:14 Encapsulation vs Abstraction
2:05:33 Example
2:09:33 Data Hiding
2:11:47 Outro
#placement #dsa #interviews
A detailed explanation of overloading vs overriding, encapsulation vs abstraction vs data hiding, types of inheritance and more!
Complete OOP playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcno1G3XjUbwzXHL8_EttOuKk
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
π Resources
- Join Replit: http://join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: https://www.youtube.com/playlist?list=PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ
- Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA-Bootcamp-Java
β‘οΈ Connect with me: http://kunalkushwaha.com
=========================================
0:00:00 Introduction
0:01:15 Principles of OOP
0:02:26 Inheritance
0:11:30 Example: Box
0:17:49 Explaination
0:23:31 "private" keyword
0:36:26 "super" keyword
0:48:00 Single Inheritance
1:00:17 Multiple Inheritance
1:04:25 Hierarchial Inheritance
1:07:28 Hybrid Inheritance
1:10:26 Polymorphism
1:12:53 Example: Shapes
1:19:27 Types of Polymorphism
1:19:57 Static Polymorphism
1:20:34 Overloading
1:28:02 Dynamic Polymorphism
1:29:24 Overriding
1:34:08 How Overriding Works?
1:39:05 How Java determines which method to run?
1:45:17 "final" keyword
1:50:49 Can we override static methods?
1:57:02 Encapsulation
1:58:22 Abstraction
2:00:14 Encapsulation vs Abstraction
2:05:33 Example
2:09:33 Data Hiding
2:11:47 Outro
#placement #dsa #interviews
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
809.2K
Likes
19.0K
Duration
02:12:51
Published
Nov 8, 2021
User Reviews
4.8
(161)