Files
freecodecamp--freecodecamp/curriculum/challenges/english/blocks/object-oriented-programming-with-python/inheritance-video.md
T
wehub-resource-sync dde272c4b8
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 11:55:53 +08:00

38 lines
615 B
Markdown

---
id: 697fe5c032baa3841ab62a64
title: Inheritance
challengeType: 11
videoId: uHdNSULVpgY
dashedName: inheritance
---
# --description--
In this video, you will learn about inheritance in object oriented programming.
# --questions--
## --text--
What is inheritance in object oriented programming?
## --answers--
This is when a class reuses code from a function.
---
This is when a class creates a copy of another class.
---
This is when a class inherits properties and behaviors from another class.
---
This is when a class hides its methods and variables from other classes.
## --video-solution--
3