How does Kotlin define the type of a variable? Well, we can tell it or have it figure out the type by itself.

Let's tell Kotlin that we want to create a variable of type String.

Nice! Declaring the type is optional because Kotlin does something called type inference: it can figure out the type by itself.

Oh noes! Int is short for integer, which is a kind of number. We want to create a String-type variable.