This annotation focuses on a class object that gives an implementation to the interface. For example, in case the NotificationService interface has numerous usages, and in case we wish to have SMSService as the default implementation, at that point we can code as follows:
@ImplementedBy(SMSService.class) public interface NotificationService{ boolean sendNotification(String message, String recipient); }