title: Kotlin - what's the reasoning behind "const"
body: <p>It has been already clarified what's the difference between <code>val</code> and <code>const val</code> <a href="https://stackoverflow.com/questions/37595936/what-is-the-difference-between-const-and-val">here</a>.</p>
  
  <p>But my question is, why we should use <code>const</code> keyword? There is no difference from the generated Java code perspective.</p>
  
  <p>This Kotlin code:</p>
  
  <pre><code>class Application
  
  private val testVal = "example"
  
  private const val testConst = "another example"
  </code></pre>
  
  <p>Generates:</p>
  
  <pre><code>public final class ApplicationKt
  {
      private static final String testVal = "example";
      private static final String testConst = "another example";
  }
  </code></pre>