Is there a difference between `val` and `const val...
# announcements
a
Is there a difference between
val
and
const val
in object for java/kotlin? This is PR I got this afternoon
Copy code
object Label {
-    val SUCCESS = "success"
-    val FIRST_MESSAGE = "first_message"
-    val EACH_MESSAGE = "each_message"
-    val UI_VALIDATION = "UI Validation error"
+    const val SUCCESS = "success"
+    const val FIRST_MESSAGE = "first_message"
+    const val EACH_MESSAGE = "each_message"
+    const val UI_VALIDATION = "UI Validation error"
 }