Can I make a methods caller return?
<p>If i have a method a() that call b(x):</p>

<pre><code>int d = 0;

void a(){
    int c = b(x);
    d = c;
}

int b(x){
    if(somecondition){
        return x;
    }else{
        retrun null;
    }
}
</code></pre>

<p>Is there any way I can write the function <code>b(x)</code> so that it makes <code>a()</code> return before changing <code>d</code>, if I don't want to check if <code>c</code> is <code>null</code> from within <code>a()</code>?</p>
