In this lecture of the Java Full Course, we explore two of the most important Object Oriented Programming (OOP) concepts in Java : Encapsulation and Inheritance.
You will learn how Encapsulation helps in data hiding and protecting object state, and how Inheritance allows classes to reuse code and build hierarchical relationships between objects.
Through practical coding examples, we understand how these concepts are used in real Java applications and why they are fundamental for writing clean, modular, and maintainable code.
This lecture is part of the Java Full Course playlist designed for beginners and intermediate developers who want to build a strong foundation in Java and Object Oriented Programming.
Topics Covered
What is Encapsulation
Getters and Setters
Benefits of Encapsulation
What is Inheritance
Parent and Child Classes
Code Reusability
Types of Inheritance in Java
Real Code Examples
Why Learn Java?
Java is one of the most powerful and widely used programming languages in the world.
It is used in:
Backend development
Enterprise applications
Android development
Banking systems
Large-scale distributed systems
If you want to master Data Structures, Spring Boot, Microservices, or System Design, Java fundamentals are essential.
Join Coder Army Whatsapp Group: https://whatsapp.com/channel/0029Va6H...
Join System Design Whatsapp Group: https://whatsapp.com/channel/0029VbBF...
Code and Notes: Github : https://github.com/adityatandon15/Jav...
We offer paid course on Dsa, web development, blockchain, system design and GenAI.
Join our Paid Course: https://strikes.in/
Coder Army: https://coderarmy.in/#home
Coder Army app: https://play.google.com/store/apps/de...
Connect with Aditya Tandon
Instagram : / adityatandon2
LinkedIn : / adityatandon2
Twitter : https://x.com/adityatandon02
Timestamps:
00:00 Intro
00:44 Encapsulation
10:38 Access Modifiers
14:29 Private modifier
16:29 Default modifier
19:35 Protected modifier
20:16 Public modifier
21:11 class modifiers
25:55 Implementing Encapsulation
43:11 Java Packages
01:00:08 Inheritance
01:07:29 Properties of Inheritance
01:08:35 Implementing Inheritance
01:13:58 Types of Inheritance
01:22:01 Why multiple inheritance not supported in java?
01:24:41 super Keyword
java encapsulation, encapsulation in java, inheritance in java, java oop concepts, object oriented programming java, java full course, java inheritance explained, encapsulation with example java, java tutorial for beginners, java programming, oop concepts java, java classes and objects, learn java programming
En esta página del sitio puede ver el video en línea Encapsulation & Inheritance in Java | Java Packages & Super Keyword | Java Full Course #16 de Duración hora minuto segunda en buena calidad , que subió el usuario Coder Army 09 marzo 2026, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 15,935 veces y le gustó 667 a los espectadores. Disfruta viendo!