This may be a very stupid question, but what does this line in java mean?
Seat tempSeat = rowClass ? allSeatsC[i][j] : allSeatsE[i][j];
I know it has something to do with an if function but I was trying to re-write it with if. But I just cannot figure out how does it work.