Computer Science, asked by anas897, 4 months ago

In Java, conditional uses which two
symbols in expression to delimit
three operands?
: and;
.and:
? and:
? and *​

Answers

Answered by mgaming76812
0

Answer:

Conditional AND

It is denoted by the two AND operators (&&).

Answered by fathima52901
0

Answer:

The answer will be option (C) (? and :)

Explanation:

There are 3 types of conditional operators in JAVA -

1. Conditional AND

Symbol - &&

  • It is applied between two Boolean expressions.
  • This operator returns,

true - if and only if both expressions are true,

false - else.

2. Conditional OR

Symbol - ||

  • It is applied between two Boolean expressions.
  • This operator returns,

true - if any of the expressions is true,

false - else

3. Ternary Operator

Symbol - ? :

  • Ternary (meaning) - composed of three parts.
  • This operator (Ternary operator) (? :) consists of three operands.
  • It is used to decide which value will be assigned to the variable.
  • The ternary operator is the only conditional operator that accepts three operands.
Similar questions