Vidyalelo
Computer Science · Q71

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 71

Q71

What is the main purpose of the let function in Kotlin?

A.
To facilitate null checks
B.
To execute a block of code and return a result
C.
To transform an object
Answer
D.
None of the above

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board