Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Inheritance | OOP project
Best Practices: Python OOP
course content

Kursusindhold

Best Practices: Python OOP

book
Inheritance

In Python, classes can inherit from other classes, allowing you to reuse code and create a hierarchy of classes. The parent class is known as the base class and the child class is known as the derived class.

Opgave

Swipe to start coding

Try and experiment round with the GoldenRetriever object!

Løsning

Mark tasks as Completed
Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 7
Vi beklager, at noget gik galt. Hvad skete der?
some-alt