Java OOP: Understanding Inheritance & Polymorphism in Java
Java
| Intermediate
- 11 videos | 1h 21m 58s
- Includes Assessment
- Earns a Badge
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 courseIdentify advantages and applications of inheritanceApply inheritance to model real-world entitiesIdentify advantages and applications of polymorphismRecognize how the methods derived from java.lang.object workRecognize 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 classRecognize 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 classRecognize how to upcast and downcast and how downcasting can sometimes be dangerousRecognize how you can create one base class with multiple derived classesSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 46s
-
6m 4sIn this video, you will identify the advantages and applications of inheritance. FREE ACCESS
-
10m 7sIn this video, you will learn how to apply inheritance to model real-world entities. FREE ACCESS
-
5m 39sIn this video, you will learn how to identify advantages and applications of polymorphism. FREE ACCESS
-
10m 13sUpon completion of this video, you will be able to recognize how the methods derived from java.lang.Object work. FREE ACCESS
-
11m 40sUpon 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
-
11m 12sUpon 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
-
6m 32sAfter 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
-
10m 2sUpon completion of this video, you will be able to recognize how to upcast and downcast, and how downcasting can sometimes be dangerous. FREE ACCESS
-
7m 44sAfter completing this video, you will be able to recognize how to create one base class with multiple derived classes. FREE ACCESS
-
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.