0 votes
in Kotlin by
Tell me the default behavior of Kotlin classes?

1 Answer

0 votes
by

In Kotlin all classes are final by default. That’s because Kotlin allows multiple inheritances for classes, and an open class is more expensive than a final class.

...