What are sealed classes in Java and why use them? | LetsGit.IT