CVS Health interview question

Sealed class vs sealed interface