When creating an interface in Kotlin, does it matter if properties have get/set?
<p>In a Kotlin interface, does it matter if properties are declared with empty get/set statements?</p>

<p>For instance...</p>

<pre><code>interface ExampleInterface {
    // These...
    val a: String
        get
    var b: String
        get
        set

    // ...compared to these...
    val c: String
    var d: String
}
</code></pre>

<p>I'm having a hard time noticing a difference.</p>

<p>When implementing the interface, it doesn't seem to matter if I use getters/setters for the properties, or if I set the value directly.</p>

<p>When accessing these through java, the <code>val</code>'s both have getters, and the <code>var</code>'s both have getters and setters.</p>

<pre><code>public void javaMethod(ExampleInterface e) {
    e.getA();

    e.getB();
    e.setB();

    e.getC();

    e.getD();
    e.setD();
}
</code></pre>