Kotlin does not have wildcards; instead, it uses the concepts of deviation from declarations and types.
Please review the documentation, which covers quite extensively.
Kotlin provides so-called stellar projection
val a = ArrayList<Int>() val b: ArrayList<out Number> = a
source share