Java Reference
In-Depth Information
Operatorsarealsoclassifiedasprefix,postfix,andinfix.A prefix operator isaunary
operatorthatprecedesitsoperand(asin -6 ),a postfix operator isaunaryoperatorthat
trailsitsoperand(asin x++ ),andan infix operator isabinaryorternaryoperatorthat
is sandwiched between the binary operator's two or the ternary operator's three oper-
ands (as in x+5 ). Table 1-3 presents all supported operators in terms of their symbols,
descriptions,andprecedencelevels—theconceptofprecedenceisdiscussedattheend
ofthissection.Variousoperatordescriptionsreferto“integertype,”whichisshorthand
forspecifyinganyofbyteinteger,shortinteger,integer,orlongintegerunless“integer
type”isqualifiedasa32-bitinteger.Also,“numerictype”referstoanyoftheseinteger
types along with floating-point and double precision floating-point.
Search WWH ::




Custom Search