Back to Browse

Inheritance with example program in java

163 views
Apr 21, 2024
8:52

This video explains about Inheritance in java with example Here are the chapters based on the content of the video: 0:00 - Introduction to Inheritance: Definition and concept of inheritance in object-oriented programming. 1:05 - Code Reuse Example: Demonstrating inheritance using the `extends` keyword with Class A and Class B. 3:08 - Object Layout and Access: Understanding how subclass objects acquire members from the superclass and how to access them. 5:24 - Constructor Execution: Explanation and verification of the order in which constructors are executed. 6:20 - Superclass Independence: Discussing that a superclass can be used independently of its subclasses. 7:46 - Reference Types and Limitations: How superclass references interact with subclass objects and their limitations. 8:31 - Access Specifiers: A brief mention of access specifiers and their influence on inheritance.

Download

0 formats

No download links available.

Inheritance with example program in java | NatokHD