InterviewSolution
Saved Bookmarks
| 1. |
Why is it called a ternary expression what does the word ternary indicate? |
|
Answer» It is CALLED TERNARY expression because of the ternary operator (?:). Word Ternary INDICATES “THREE” means it takes 3 arguments and is one-lined shorthand for an if-then STATEMENT. |
|