Intermediate
Kotlin
Q53 / 100
What is the purpose of the operator keyword?
Correct! Well done.
Incorrect.
The correct answer is B) To allow operator overloading by linking a function to a specific operator symbol
B
Correct Answer
To allow operator overloading by linking a function to a specific operator symbol
Explanation
operator fun plus(other: MyType) enables using + with your custom class.
Progress
53/100