In fact, for declaring properties and initializing...
# getting-started
e
In fact, for declaring properties and initializing them from the primary constructor, Kotlin has a concise syntax:
Copy code
class Person(val firstName: String, val lastName: String, var age: Int) {
    // ...
}
That's exactly what it saids