kotlin print
fun main() {
println("Hello World")
}
kotlin print
fun main() {
println("Hello World")
}
how to print in kotlin
//Kotlin is a very special coding language
//In order to print it needs a main function or else the code will error
//I did this in vs code without a function and it reacted weirdly giving a bunch of error lines
fun main(args: Array<String>) {
println("Hello Bob")
}
//you can print in two ways!
println("hi world")
print("hello print")
/*
In vs code I did fun main(){
}
And it worked great!
*/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us