Is Kotlin native copy hard coded or reference is p...
# kotlin-native
k
Is Kotlin native copy hard coded or reference is passed ? when
Copy code
val s1 = "hello"
var s2 = s1
And can anyone explain data race conditions in Kotlin ? Is there brief explanation what's going on under the hood
g
Reference will be passed, because string is an object
Data race condition? In this code?
k
okey. no, there's no race condition in this code.