Java OOP: Understanding Inheritance & Polymorphism in Java

Java SE 13    |    Intermediate
  • 11 Videos | 1h 26m 28s
  • Includes Assessment
  • Earns a Badge
Likes 87 Likes 87
In this course, you will explore the basics of inheritance and run-time polymorphism in Java, and how these concepts can be used to model Is-A relationships. Begin with an introduction to inheritance, and how to identify its advantages and applications. You will then apply inheritance to model real-world entities. Next, learn the concepts of polymorphism, its advantages and applications. Then move on to recognizing how the methods derived from java.lang.Object work, and also how all built-in Java classes possess the methods derived from java.lang.Object. You will examine how objects of derived classes have independent copies of member variables, even from the derived class. Following an introduction to the Is-A relationship, you will learn how to recognize, in single inheritance, that every object of the derived class is an object of the base class, but not every object of the base class is an object of the derived class. Explore how to upcast and downcast, and learn how downcasting can sometimes be dangerous. Finally, learn how one base class can be created with multiple derived classes.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    identify advantages and applications of inheritance
    apply inheritance to model real-world entities
    identify advantages and applications of polymorphism
    recognize how the methods derived from java.lang.Object work
    recognize how all built-in Java classes possess the methods derived from java.lang.Object
  • recognize how objects of derived classes will have independent copies of member variables even from the derived class
    recognize how in single inheritance, every object of the derived class is an object of the base class, but not every object of the base class is an object of the derived class
    recognize how to upcast and downcast and how downcasting can sometimes be dangerous
    recognize how you can create one base class with multiple derived classes
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 46s
    UP NEXT
  • Playable
    2. 
    Introduction to Inheritance
    6m 4s
  • Locked
    3. 
    Inheritance in Action
    10m 7s
  • Locked
    4. 
    Understanding Polymorphism
    5m 39s
  • Locked
    5. 
    The java.lang.Object Base Class
    10m 13s
  • Locked
    6. 
    Methods Derived from java.lang.Object
    11m 40s
  • Locked
    7. 
    Member Variables in Derived Classes
    11m 12s
  • Locked
    8. 
    Introducing the Is-A Relationship
    6m 32s
  • Locked
    9. 
    Relationships between Base and Derived Class Objects
    10m 2s
  • Locked
    10. 
    Multiple Derived Classes from One Base Class
    7m 44s
  • Locked
    11. 
    Course Summary
    1m

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE