Ternary operator



if (COND) {
   X = A;
} else {
   X = B;
}

X = COND ? A : B;