Java : JAVA Operators

Which among the following forms of operators works with three operands? , Which among the following forms of operators works with three operands?

Which among the following forms of operators works with three operands?

Which among the following forms of operators works with three operands?
A. Unary

B. Binary

C. Ternary

D. None of these



Correct Answer :

C. Ternary



Explanation
Ternary operator takes three arguments (operands) to perform the operation. it is also known as conditional operator which used ? : symbol to represent this.
CCC Online Test , CCC MCQ Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz career counselling in allahabad Website development Company in Allahabad