So to insert the initialization code an initializer block is used with init, example: Code : fun main(args: Array<String>) { val person1 = NAme("kotlin", ...
確定! 回上一頁