Sweetie, '?' is the ternary operator, otherwise known as the conditional operator. It's called 'ternary' because it works with THREE operands...unlike something like '+' which works with two: (x+y).
This is the alternative to if/else statements: it reads: "If x > y, assign x's value to z. Else, assign z the value of y."Code:int x=2, y=5, z=0; //Our three operands z = (x > y) ? (x:y); //Assign z to the bigger one.