An example: Let's say I have `fun print(list: List...
# getting-started
k
An example: Let's say I have
fun print(list: List<Number>)
, is it fine to pass a
List<Int>
? Yes, and that's what the
out
signifies: you can always use a
List<Child>
instead of a
List<Parent>
.