Hassaan
05/07/2022, 3:44 AMephemient
05/07/2022, 3:55 AMval is not re-assignableephemient
05/07/2022, 3:57 AMInt type conceptually, the compiler will represent it with a boxed Integer or primitive int as appropriate, automaticallyephemient
05/07/2022, 3:59 AMHassaan
05/07/2022, 3:59 AMephemient
05/07/2022, 3:59 AMephemient
05/07/2022, 4:01 AM<http://kotlin.Int|kotlin.Int> is never a mutable box. on JVM, it is represented by either a primitive int wherever possible, or an immutable boxed java.lang.Integer where notephemient
05/07/2022, 4:04 AMInt to be like other value types: they have no identity, so instances (and whether they're the same or not) aren't even part of the language modelHassaan
05/07/2022, 4:05 AM