hho
05/19/2026, 4:20 PM'\0' is a compile error in Kotlin. Is '\u0000' the equivalent?Michael Krussel
05/19/2026, 4:27 PMKlitos Kyriacou
05/19/2026, 5:34 PM'\u0000' is the direct equivalent to Java's '\0'. It's actually not equivalent to Java's '\u0000' because in Java it's taken as part of the source code itself, whereas in Kotlin it's a literal.