资讯
In Java terms, Kotlin classes are final by default. Default public members and default final classes could be interpreted as subtle encouragement to prefer composition over inheritance.
Sealed classes in Java let developers limit the creation and use of subclasses and preserve the class hierarchy. Here is how sealed classes in Java work.
一些您可能无法访问的结果已被隐去。
显示无法访问的结果