* fix: remove isHidden flag from frontmatter * fix: add isUpcomingChange Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com> * feat: hide blocks not challenges Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com> Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
35 lines
642 B
Markdown
35 lines
642 B
Markdown
---
|
|
id: 5e7b9f170b6c005b0e76f088
|
|
title: 'Objects: Inheritance'
|
|
challengeType: 11
|
|
isRequired: true
|
|
videoId: FBL3alYrxRM
|
|
---
|
|
|
|
## Description
|
|
<section id='description'>
|
|
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
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.
|
|
solution: 3
|
|
```
|
|
|
|
</section>
|