latest kotlin version
// Step 1: Define a data class called Person with properties name and age
data class Person(val name: String, val age: Int)
fun main() {
// Step 2: Create an instance of the Person class
val person = Person("Alice", 30)
// Step 3: Access and print the properties of the person object
println("Name: ${person.name}")
println("Age: ${person.age}")
}