what is the working of ternary operator in java
Answers
Answered by
1
At its most basic, the ternary operator, also known as the conditional operator, can be used as an alternative to the Java if/then/else syntax, but it goes beyond that, and can even be used on the right hand side of Java statements.
Similar questions
Math,
7 months ago
Math,
7 months ago
Math,
1 year ago
Physics,
1 year ago
Computer Science,
1 year ago