creating a class instance kotlin code example Example: kotlin create instance of class val obj = myClass() // create obj object of myClass class