Kotlin - Functions
Consider the function:
Which call correctly uses named arguments to reserve a seat for "Emma" on "2024-12-15" with the default seat type?
fun reserveSeat(name: String, eventDate: String, seatType: String = "Regular") {
println("Reservation for $name on $eventDate, Seat: $seatType")
}Which call correctly uses named arguments to reserve a seat for "Emma" on "2024-12-15" with the default seat type?
