From e9c9c499894ee0dff22b94f34eaaf6adc6538f6f Mon Sep 17 00:00:00 2001 From: "xuanyi.wang" Date: Thu, 13 Apr 2023 00:54:31 +0200 Subject: [PATCH] Update page 'Day 7 homework - Sloejtes' --- Day 7 homework - Sloejtes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Day 7 homework - Sloejtes.md b/Day 7 homework - Sloejtes.md index 429d5b6..c7bcde3 100644 --- a/Day 7 homework - Sloejtes.md +++ b/Day 7 homework - Sloejtes.md @@ -174,7 +174,7 @@ None **6. What happens when you try to call an abstract method, or access an abstract property in the base class?** **Answer:** -* When trying to call an abstract method or access an abstract property in the base class, we will get a `TypeError` with a message indicating that the abstract method or property was not implemented in the subclass because abstract methods and properties in Python are meant to be overridden and implemented in subclasses. They serve as a sort of blueprint for what methods and properties a subclass should have, without dictating the implementation details. +* When trying to call an abstract method or access an abstract property in the base class, we will get a `TypeError` with a message indicating that the abstract method or property was not implemented in the subclass because abstract methods and properties in Python are meant to be overridden and implemented in subclasses. **Example:** ```