conditional operator

2 topics · 2 sources

Technology

GIS

A symbol or keyword specifying how to compare values. Conditional operators are used to query a database. Examples from SQL include: = (equal to) BETWEEN < (less than) LIKE > (greater than) CONTAINING

  • City of High Point, NC — GIS Glossary retrieved 2014-05-27

Technology› Programming

Java

An operator taking three operands - a ternary operator. The conditional operator (?:) is used in the form

 bexpr ? expr1 : expr2 
where bexpr is a boolean expression. The the boolean expression has the value true then the result of the operation is the value of expr1, otherwise it is the value of expr2.

Cite this definition

APA
MLA
Chicago