All of the types mentioned so far are built into the Kotlin programming language. If you would like to add your own custom type, you can define a class using the class keyword, as shown in the following example: