Declare Constant in Kotlin

This article will show about how we could declare constant in Kotlin, and how to access them in both Java and Kotlin.

There are 3 ways to declare constant in Kotlin:

  1. Top-Level Declaration
  2. Companion Object
  3. Object
Read more