Java OOP: Understanding Inheritance & Polymorphism in Java

Java    |    Intermediate
  • 11 videos | 1h 21m 58s
  • Includes Assessment
  • Earns a Badge
Rating 4.6 of 128 users Rating 4.6 of 128 users (128)
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

  • 1m 46s
  • 6m 4s
    In this video, you will identify the advantages and applications of inheritance. FREE ACCESS
  • Locked
    3.  Inheritance in Action
    10m 7s
    In this video, you will learn how to apply inheritance to model real-world entities. FREE ACCESS
  • Locked
    4.  Understanding Polymorphism
    5m 39s
    In this video, you will learn how to identify advantages and applications of polymorphism. FREE ACCESS
  • Locked
    5.  The java.lang.Object Base Class
    10m 13s
    Upon completion of this video, you will be able to recognize how the methods derived from java.lang.Object work. FREE ACCESS
  • Locked
    6.  Methods Derived from java.lang.Object
    11m 40s
    Upon completion of this video, you will be able to recognize how all built-in Java classes inherit the methods derived from java.lang.Object. FREE ACCESS
  • Locked
    7.  Member Variables in Derived Classes
    11m 12s
    Upon completion of this video, you will be able to recognize how objects of derived classes will have independent copies of member variables even from the base class. FREE ACCESS
  • Locked
    8.  Introducing the Is-A Relationship
    6m 32s
    After completing this video, you will be able to recognize that 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. FREE ACCESS
  • Locked
    9.  Relationships between Base and Derived Class Objects
    10m 2s
    Upon completion of this video, you will be able to recognize how to upcast and downcast, and how downcasting can sometimes be dangerous. FREE ACCESS
  • Locked
    10.  Multiple Derived Classes from One Base Class
    7m 44s
    After completing this video, you will be able to recognize how to create one base class with multiple derived classes. FREE ACCESS
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 49 users Rating 4.5 of 49 users (49)
Rating 4.5 of 1884 users Rating 4.5 of 1884 users (1884)
Rating 4.8 of 47 users Rating 4.8 of 47 users (47)