title: How to use an output parameter in Java?
body: <p>Could someone please give me some sample code that uses an output parameter in function? I've tried to Google it but just found it just in functions. I'd like to use this output value in another function.</p>
  
  <p>The code I am developing intended to be run in Android. </p>