If a function does not return any useful value, its return type is _____
Front
Unit
Back
Classes
Front
In Kotlin ______ are 'final' by default
Back
Data Classes
Front
provide a convenient way to override equals, hashCode, and toString
Back
high-level functions
Front
functions as first class citizens
can pass and return from functions
Back
sealed classes
Front
used to restrict class Hierarchies
Back
override fun doSomething() = { super <A>.doSomething}
Front
if implementing many interfaces, how to execute a specific one:
interface A {fun doSomething() = {}}
interface B {fun doSomething() = {}}
class foo: A, B {
// code to execute interface A
}