Vidyalelo
Computer Science · Q30

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 30

Q30

What does the also function do in Kotlin?

A.
It's a scoping function that also executes a block of code
B.
It runs a block of code and returns the object it was called on
Answer
C.
It runs a block of code and returns the result
D.
None of the above

Answer: Option B

Solution

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