October 2018
Intermediate to advanced
370 pages
9h 15m
English
The class reference is represented by the instance of the KClass class. To obtain the reference to a class, you can use the :: operator, as follows:
JUnitPlatform::class
Take into account that an instance of KClass isn't the same as an instance of Class in Java. To obtain a Java class reference, you can use the java property of a KClass class property.
Read now
Unlock full access