Computer Science, asked by era20, 1 year ago

what is the working of ternary operator in java

Answers

Answered by KUMARCHHOTU
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