Sealed interfaces restrict which classes can implement them.
Sealed interfaces control which classes can implement the interface, similar to sealed classes. This is useful in defining a domain where only specific implementations are allowed. For example, in an e-commerce platform, a sealed interface `PaymentMethod` could restrict implementations to `CreditCard` and `PayPal`, ensuring only authorized payment methods are available.