• 12 hours
  • Easy

Free online content available in this course.

course.header.alt.is_video

course.header.alt.is_certifying

Got it!

Last updated on 4/18/24

Use Inheritance Behavior in a Python Program

Evaluated skills

  • Use inheritance behavior in a Python program
  • Question 1

    When a class inherits from another class, it gains the parent class’s:

    Careful, there are several correct answers.
    • Methods

    • Variables

    • Name

  • Question 2

    An abstract base class:

    • Can be instantiated, but should be inherited from.

    • Can’t be instantiated or inherited from.

    • Can’t be instantiated, but can be inherited from.

  • Question 3

    Duck typing is:

    • When Python cares about what an object can do, not what type it is. 

    • When you have to define each variable’s type.

    • When you can use a child object rather than its parent.

Ever considered an OpenClassrooms diploma?
  • Up to 100% of your training program funded
  • Flexible start date
  • Career-focused projects
  • Individual mentoring
Find the training program and funding option that suits you best