As per kotlin doc we start new activity with following syntax
startActivity(Intent(this@MainActivity, NextActivity::class.java))
its kotlin
Because NextActivity::class gives you KClass, and KClass has a method/extension property called java which gives you the java.lang.Class for the given class.
NextActivity::class
KClass
java.lang.Class
You can even check out the source-code for that java property.