Is the ternary operator written x : y ? z or x ? y : z ?

Is the ternary operator written x : y ? z or x ? y : z ?

Decleo
Views: 561 | Community Opinion: 1

Tags..  Ternary Operator  Java Interview  Core Java  Java Operator

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Kasmin Said..

It is written x ? y : z.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: