how to use a function within a class in kotlin code example Example: how to instantiate a class in kotlin private var xyz = ClassXYZ()