CVS Health Interview Question

Sealed class vs sealed interface