Рет қаралды 401,464
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: • Object Oriented Progra...
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: join.replit.com/kunal-kushwaha
- Complete Java DSA playlist: • Java + DSA + Interview...
- Code, Assignments, & Notes: github.com/kunal-kushwaha/DSA...
➡️ Connect with me: 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