but I'm curious if I can do something like this? `...
# announcements
n
but I'm curious if I can do something like this?
Copy code
open class C(val foo: String?)

data class A(val foo: String?) : C()

data class B(val bar: String?) : A()
where B has both foo & bar properties