What is the purpose of a sealed interface or class Java 17? | Abstraction and Interfaces question · AnyPrep