Skip to content

Commit

Permalink
Update kotlin-quiz.md (Ebazhanov#1125)
Browse files Browse the repository at this point in the history
* Update kotlin-quiz.md

Q4

* Update kotlin/kotlin-quiz.md

Co-authored-by: Evgenii <[email protected]>

Co-authored-by: Evgenii <[email protected]>
  • Loading branch information
adminazhar and Ebazhanov authored Feb 11, 2021
1 parent 6deefec commit 685e4f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kotlin/kotlin-quiz.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class Airplane(private val name: String) : Aircraft() {
#### Q4. Inside an extension function, what is the name of the variable that corresponds to the receiver object

- [ ] The variable is named **it**
- [ ] The variable is named **this**
- [x] The variable is named **this**
[reference](https://www.programiz.com/kotlin-programming/extension-functions#:~:text=The%20class%20name%20is%20the,function%20refers%20the%20receiver%20object)
- [ ] The variable is named **receiver**
- [ ] The variable is named **default**

Expand Down

0 comments on commit 685e4f2

Please sign in to comment.