title: Property getter or setter expected in Kotlin
body: <p>I am learning <code>Kotlin</code> from official docs, I am trying to create a class to do arithmetic operations. </p>
  
  <pre><code>class Sum {
  
      var a: Int, b: Int;
  
      constructor(a: Int, b: Int) {
          this.a = a
          this.b = b
      }
  
      fun add(): Int {
          return a + b
      }
  }
  </code></pre>
  
  <p>I have this class, now I want to create an object of this class like </p>
  
  <pre><code>val sum = Sum(1,2)
  Log.d("Sum", sum.add())
  </code></pre>
  
  <p>I am getting this error in <code>Sum</code> class:</p>
  
  <blockquote>
    <p>Property getter or setter expected</p>
  </blockquote>
  
  <p>on <code>b: int;</code> within the line <code>var a: Int, b: Int;</code></p>