Passing a String from one method to another method
<p>Sorry for this newbie simple question, but I need to pass a String from one method to another method and now I'm a bit clueless</p>

<p>the String values (callbackURL &amp; donationId) I wanna pass are inside this method:</p>

<pre><code>public void postData() {
.
.
.
.
            String callbackURL = tokens.nextToken();
            String donationId = tokens.nextToken();

    } 
</code></pre>

<p>and I want to pass the values to another method, let's say it's called <code>private examplePayment()</code>. How am I able to perform that?
Thank you</p>
