Consider the following class:
class Person(val name: String) {
fun say() = println("Hi")
fun self() = this
fun signature() = name
}
Match the member functions to their return types.
Consider the following class:
class Person(val name: String) {
fun say() = println("Hi")
fun self() = this
fun signature() = name
}
Match the member functions to their return types.
Create a free account to access the full topic