Person

data class Person(val name: String, val lastName: String, val age: Int, val cars: MutableList<Car> = mutableListOf())

Constructors

Link copied to clipboard
constructor(name: String, lastName: String, age: Int, cars: MutableList<Car> = mutableListOf())

Properties

Link copied to clipboard
val age: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard