fun main(args:Array){
Print(“Hello World”)
}
Error:(2, 5) Kotlin: Unresolved reference: Print
fun main(args:Array){
Print(“Hello World”)
}
Error:(2, 5) Kotlin: Unresolved reference: Print
There is no function Print
with a upper case p. Also your main function needs to take an argument of Array<String>
, just Array
does not work either.
Also if I were you I’d take a look at the following:
https://kotlinlang.org/docs/reference/
https://kotlinlang.org/docs/reference/basic-syntax.html
iam facing same problem
Kotlin: Unresolved reference: print