Mapping Relationships in Java: Constructors & Polymorphism

Java SE 15    |    Intermediate
  • 14 videos | 1h 55m 5s
  • Includes Assessment
  • Earns a Badge
Likes 65 Likes 65
Runtime polymorphism involves variables of a base class containing objects of a derived class. Java uses dynamic binding to ensure that such variables are a powerful mechanism for writing clean, extensible, and correct code. This course takes you through the use of these advanced Java processes and mechanisms. Examine how constructors work with inheritance, including the order of constructor invocation, the role of base and derived class constructors, and the super keyword. Learn about runtime polymorphism and how this process of determining which implementation of a method to invoke at runtime is known as dynamic method dispatch. As you advance, use compile-time polymorphism in Java through method overloading. By the end of this course, you'll have a solid grasp of constructor invocation and both runtime and compile-time polymorphism in Java.


  • discover the key concepts covered in this course
    examine how the default constructor in the base class is used in the derived class
    use the super keyword to invoke a base class constructor from a derived class
    invoke base class constructors correctly from derived classes
    investigate nuances while defining derived class constructors
    reuse code using the super() and this() constructor invocations
    recall the characteristics of runtime polymorphism
  • invoke the right methods based on the runtime types of objects
    outline how runtime polymorphism uses dynamic method dispatch
    identify compile-time polymorphism with overloaded methods
    overload methods with the same name and different number and types of input arguments
    recall how Java identifies and invokes the right overloaded method based on parameter types
    perform type promotions and coercions in custom class inheritance hierarchies
    summarize the key concepts covered in this course


  • 1m 28s
  • 6m 36s
  • Locked
    3.  Using the Super Keyword
    9m 35s
  • Locked
    4.  Invoking Base Class Constructors via Derived Classes
    9m 54s
  • Locked
    5.  Investigating Nuances of Derived Class Constructors
    9m 18s
  • Locked
    6.  Reusing Constructors Using super() and this()
    9m 7s
  • Locked
    7.  Characterizing Runtime Polymorphism
    8m 58s
  • Locked
    8.  Invoking Methods Based on Runtime Types
    8m 56s
  • Locked
    9.  Understanding Dynamic Method Dispatch
    12m 3s
  • Locked
    10.  Investigating Compile-time Polymorphism
    10m 25s
  • Locked
    11.  Overloading Methods with Compile-time Polymorphism
    7m 23s
  • Locked
    12.  Invoking the Right Overloaded Method
    8m 13s
  • Locked
    13.  Performing Type Promotion and Coercion
    10m 30s
  • Locked
    14.  Course Summary
    2m 40s


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.