Please enable JavaScript to use CodeHS

IB Computer Science Higher Level (Year One)

Lesson 18.15 Polymorphism

Description

In this lesson, students learn about polymorphism and how it applies to dynamic binding at run time. Students will also explore how polymorphism can be used as a formal parameter in methods or as a declaration type for arrays or ArrayLists.


Objective

Students will be able:

  • Explain what polymorphism is in the context of computer science
  • Explain how polymorphism can be used in the context of formal parameters
  • Explain how polymorphism can be used in the context of declaring arrays of a superclass type
  • Demonstrate the use of polymorphism in dynamic (late) binding