kotlin class
snippet in kotlin

kotlin class

user9680

class Person(val name: String, var age: Int) 

how to instantiate a class in kotlin

user5370

private var xyz = ClassXYZ()