Home Segments Top Top Previous Next

50: Mainline

At this point, you have seen sample uses of just one Java operator: the addition operator. In general, an operator is a built-in method that works on inputs supplied to it according to the conventions of arithmetic; such methods are interspersed among their inputs, and those inputs are called operands.