Q46
What is the purpose of the Elvis operator in Kotlin?
A.
To assign a default value to a nullable variable if null
AnswerB.
To assign a default value to a non-nullable variable if null
C.
To concatenate two strings
D.
To perform arithmetic operations
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board