Operators

Download java eBook

Introduction

Operators in Java programming language are special symbols that perform specific operations on one, two, or three operands, and then return a result.

Remarks

An operator is a symbol (or symbols) that tells a Java program to perform an operation on one, two or three operands. An operator and its operands form an expression (see the Expressions topic). The operands of an operator are themselves expressions.

This topic describes the 40 or so distinct operators defined by Java. The separate Expressions topic explains:

  • how operators, operands and other things are combined into expressions,
  • how the expressions are evaluated, and
  • how expression typing, conversions, and expression evaluation work.

Related Examples

Stats

863 Contributors: 70
Monday, July 3, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook