title: passing reference as parameter in android
body: <p>I am newbie in java/android.  I am a c/c++ developer.  May i know how to pass a reference as parameter in android. An illustrative c sample code shown below</p>
  
  <pre><code>void main()
  {
    int no1 = 3, no2 = 2, sum = 0;
    findsum( no1, no2, sum );
    printf("sum=%d", sum );
  }
  
  void findsum( int no1, int no2, int&amp; sum )
  {
    sum = no1 + no2;
  }
  </code></pre>
  
  <p>please suggest me a solution</p>
  
  <p>thanks</p>