Intermediate Python
Q84 / 101

What is a Python abstract property?

Correct! Well done.

Incorrect.

The correct answer is B) A property decorated with @abstractmethod and @property, requiring subclasses to provide a concrete implementation

B

Correct Answer

A property decorated with @abstractmethod and @property, requiring subclasses to provide a concrete implementation

Explanation

@property @abstractmethod def area(self) in an ABC forces subclasses to implement the area property.

Progress
84/101