λFPAI
Practice/Notification System

Notification System

Hard

Create an abstract Notifier with send(message).

Implement EmailNotifier, SMSNotifier, and PushNotifier.

Allow dynamic switching and add logging. Handle failures gracefully.

OOP Focus: Abstraction plus polymorphism in a real application flow.

Note: This is statement-only in the current Practice version; stdout should be empty.

Loading editor...

Output

Run or submit to see output.