https://kotlinlang.org logo
#getting-started
Title
# getting-started
k

karelpeeters

06/16/2018, 9:04 PM
You mean something like this, right?
Copy code
class Base(val name: String)
interface A { val a: Int }
interface B { val b: Int }

val instance = object: Base("Karel") /* dynamically also : A(5) */