Skip to content

Commit

Permalink
Merge pull request Ebazhanov#555 from mundoguero/patch-1
Browse files Browse the repository at this point in the history
Update object-oriented-programming-quiz.md
  • Loading branch information
monkrus authored Oct 14, 2020
2 parents c0d25cd + 7b922e1 commit 72b16d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oop/object-oriented-programming-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,3 +318,10 @@ static void Multiply(float num1, float num2) {};
- **public and private <<-- correct**
- this and final
- final and abstract

#### Q50. Why is inheritance used when creating a new class?
- [] to conserve memory
- [] to protect attributes from unwanted changes
- [x] to separate class behaviour from the more general to the more specific
- [] to delegate coding responsibility more efficiently

0 comments on commit 72b16d4

Please sign in to comment.