how do you define a variable from a class like thi...
# getting-started
j
how do you define a variable from a class like this:
Copy code
open class A
    interface B<R>
    class C<out T, out S>(val t: T, val s: S) where S : A, S : B<out T>
neither
Copy code
val c : C<Any, A>? = null
or
Copy code
val c : C<Any, B<Any>>? = null
works