Start learning →

How many operands does a ternary operator take in an expression?

AExactly one
BExactly three
CExactly two
DExactly four
Answer & Solution
Correct answer: B. Exactly three
A ternary operator operates on three distinct operands in an expression.
Practise this question with Quill — ICSE Class 8 →

Keep practising Operators in Java

Browse all Operators in Java questions for ICSE Class 8, or explore more Computer Applications topics.

Start a Operators in Java lesson →