Courseiva

PCAP practice exam session

PCAP

Study mode — explanations shown

1

Object-Oriented Programming

hard

A developer writes a class `Logger` with a method `log(self, message)`. They want to ensure that when `Logger` is subclassed, any override of `log` must call the parent's `log` method. Which technique best enforces this requirement in Python?

0 of 20 answered