void (String[] args) { KotlinSealedInterface sealedInterface = new KotlinSealedInterface() {}; // anonymouns class implements interface KotlinSealedClass sealedClass = new KotlinSealedClass() {}; new KotlinInterface() {}; new KotlinClass() {}; }