Soft Keywords Flashcards

1
Q

by - _________ the _______ of
1) an ____________2) __________ for a _______

to another object.

A

delegates the implementation of an interface to another object

Delegates the implementation of accessors for a property to another object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

catch - begins a _________ that handles a specific ___________ type

A

begins a block that handles a specific exception type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

constructor - declares a __________ or _________ _________

A

declares a primary or secondary constructor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

delegate, field, file, get, param, property, set - are used as __________ use-site ___________ .

A

Are used as an annotation use-site targets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

dynamic - references a dynamic ______ in kotlin/JS code

A

references a dynamic type in Kotlin/JS code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

finally - begins a block that is ________ _________ when a _______ block exits.

A

begins a block that is always executed when a try block exits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

get - also declares the _______ of a ____________.

A

declares the getter of a property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

import - imports a __________ from another __________ into the _________ file

A

imports a declaration from another package into the current file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

init - begins an __________ block

A

begins an initializer block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q

A

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

receiver

A

is used as an annotation use-site target

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

set - is also used to declare the _________ of a ____________.

A

declares the setter of a property

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

setparam

A

is used as an annotation use-site target

17
Q

value with the class keyword

A

declares an inline class

18
Q

where - specifies _________ for a ___________ _________ _________.

A

specifies constraints for a generic type parameter