Is there any equivalent of C#'s “default” keyword for Kotlin?
问题 Code Example: import java.util.UUID interface InterfaceOne<AType> { var abcOne:AType } interface InterfaceTwo<AType> { var abcTwo:AType } class Example<AType>: InterfaceOne<AType>, InterfaceTwo<AType> { override var abcOne: AType // Looking for default value to not from constructor set(value) { field = value //... } override var abcTwo: AType // Looking for default value to not from constructor set(value) { field = value //... } fun test(uuid: AType) { abcTwo = uuid abcOne = default // I'm