Java 2D Array return not correct, why? : <p>Why I get <code>-1</code> returned? For sure the name is in <code>stadiumSeats[i][j]</code>.</p>

<pre><code>`public int searchForGuest(final String name){       
    for(int i=0; i&lt;stadiumSeats.length; i++){
        for(int j=0; j&lt;stadiumSeats.length; j++){
            if(stadiumSeats[i][j] == name){
                return i;
            }
        }
    }
    return -1;
}`
</code></pre>
