unary operator

2 topics · 2 sources

Technology› Programming

Java

An operator taking a single operand. Java's unary operators are -, +, !, !, ++ and --.

Technology› Programming

Perl

An operator with only one "operand", like ! or chdir. Unary operators are usually prefix operators; that is, they precede their operand. The ++ and -- operators can be either prefix or postfix. (Their position does change their meanings.)

Cite this definition

APA
MLA
Chicago