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

https://kotlinlang.org/docs/tutorials/

2 Likes

iam facing same problem

Kotlin: Unresolved reference: print