The conditional ternary operator is used to assign a value to a variable based on the result of a conditional test. The result of the conditional test must equal true or false. Surrounding the conditional test with parentheses is optional, however, doing so will improve readability. A complete ternary statement must have three punctuation marks: = ? :
En esta página del sitio puede ver el video en línea Learn Java Programming - Ternary Operator ? : Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Daniel Ross 22 julio 2015, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 2,193 veces y le gustó 19 a los espectadores. Disfruta viendo!