Week 11: Closure

Week 11: Classes II

Week 11: Closure#

Syllabus#

  • Inheritance: parent class (superclass) and child class (subclass)

  • Method overriding

  • The super() function

  • Method __str__() and overloading str() and print()

  • Operator overloading example on __add__() and __eq__()

Checkpoints#