Kotlin Soft Keywords Flashcards

1
Q

by

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

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

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

A

is used as an ‘annotation use-site target’ .

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

dynamic

A

reference a dynamic type in Kotlin/JS code

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

field

A

is used as an ‘annotation use-site target’ .

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

file

A

is used as an ‘annotation use-site target’ .

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

finally

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

A
  • declares the ‘getter of a property’ .

- is used as an ‘annotation use-site target.

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

import

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

A

begins an ‘initializer block’ .

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

param

A

is used as an ‘ annotation use-site target’ .

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

property

A

is used as an ‘ annotation use-site target’ .

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

A
  • declares the ‘setter of a property’ .

- is used as an ‘ annotation use-site target’ .

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

A

value with the ‘class’ keyword declares an ‘inline class’ .

18
Q

where

A

specifies ‘constraints for a generic type parameter’ .