Where may a direct subclass of a sealed class be declared in Kotlin 2.4.10?

from Sealed classes and interfaces
Kotlin 2.4.10 intermediate 1 min

Where may a direct subclass of a sealed class be declared in Kotlin 2.4.10?

Report an error