* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
35 lines
525 B
Markdown
35 lines
525 B
Markdown
---
|
|
id: 5e7b9f170b6c005b0e76f088
|
|
title: 'Objects: Inheritance'
|
|
challengeType: 11
|
|
videoId: FBL3alYrxRM
|
|
dashedName: objects-inheritance
|
|
---
|
|
|
|
# --question--
|
|
|
|
## --text--
|
|
|
|
What is inheritance in object-oriented programming?
|
|
|
|
## --answers--
|
|
|
|
A new class created when a parent class is extended.
|
|
|
|
---
|
|
|
|
A constructed instance of a class.
|
|
|
|
---
|
|
|
|
The ability to create a new class by extending an existing class.
|
|
|
|
---
|
|
|
|
A method that is called at the moment when a class is being used to construct an object.
|
|
|
|
## --video-solution--
|
|
|
|
3
|
|
|