Vidyalelo
Computer Science · Q149

Kotlin Programming MCQ for Competitive Exams, Interviews, and Certifications

Engineering and GATE · Computer Science · question 149

Q149

Inside an extension function, what is the name of the variable that corresponds to the receiver object

A.
The variable is named it
B.
The variable is named this
Answer
C.
The variable is named receiver
D.
The variable is named default

Answer: Option B

Solution

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