Skip to content

Advanced Java · Week 5

Polymorphism

Step 1 of 8

Java 2 Guided Tutorials - Week 5: Polymorphism

What You'll Learn

Welcome to Week 5 of Java 2! This week, we'll explore polymorphism, a powerful concept in object-oriented programming. Polymorphism allows objects of different types to be treated as objects of a common superclass or interface, enabling more flexible and reusable code.

Lesson Overview:

  • Understanding Polymorphism
  • Method Overriding
  • Runtime Polymorphism
  • Polymorphism with Interfaces
  • Abstract Classes and Polymorphism
  • Quiz to test your knowledge
  • Weekly project to apply what you've learned

By the end of this week, you'll have a solid understanding of polymorphism and how to use it effectively in your Java programs. Let's get started!

Quick check

  1. 1. What is polymorphism in Java?

  2. 2. Which of the following is NOT a way to achieve polymorphism in Java?

  3. 3. What is runtime polymorphism?