You have the following snippet of code:
fun <T> someFunction(a: T): Int {
return a
}
fun main() {
println(someFunction(1))
}
What will it output?
You have the following snippet of code:
fun <T> someFunction(a: T): Int {
return a
}
fun main() {
println(someFunction(1))
}
What will it output?
Create a free account to access the full topic