5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

IT Professional Curricula     Software Development Solution Area     Java 2 Programming     Object-Oriented Programming in Java

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.



Objectives

Java OOP: Understanding Inheritance & Polymorphism in Java

  • 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