Question on ifs
<p>I have the following code:</p>

<pre><code>     boolean Short = x();
    boolean Long = y();       
    boolean Longer = z();

    if (Short )
        return "abc";

    if (Long)
        return "def";

    if (Longer) 
        return "ghi";        
</code></pre>

<p>The three bool methods (x, y, z) all do maths on value. I need an additional if statement to return the number from if the above 3 ifs are not evaluated to true. How could this be done and are there any redundant ifs? Also, what do I need to know about precedence with ifs? My name says "dotnet" but I am equally a programmer in Java (I've spent time trying to pick it up as much as .NET).</p>

<p>Thanks</p>
