Loading

Quipoin Menu

Learn • Practice • Grow

spring / Dependency Injection
exercise
1/5
Exercise 1Spring
Question

Create a `MessageService` interface and two implementations: `EmailService` and `SMSService`. Use setter-based dependency injection to inject the service into a `Notification` class. Provide complete code with XML configuration.