Computer Science, asked by Anonymous, 10 months ago

How are conditional operators useful in taking decisions in Java ?

Answers

Answered by Anushkasingh456
1

The Java language gives you operators and control statements that you can use to make decisions in your code. Most often, a decision in code starts with a Boolean expression— that is, one that evaluates to either true or false.

Conditional Operators in Java. This operator is used to make conditional expressions. If we get “true” or a non-zero number as the result of expression1, expression2 will be evaluated and the result of expression2 will be the overall result of the conditional expression.


Anonymous: can you plz give me the exact answer
Anushkasingh456: ok
Similar questions