Correct mistakes

Report a typo

Define a type alias correctly so that the code will be compilable.

Triple is a data class from Kotlin standard library which stores three values.

Write a program in Kotlin
type User = Triple<String, String, Int>
fun fetchUser(): User {
return User("Hyperskill", "User", 2021)
}
___

Create a free account to access the full topic