Description
Multiplication is one of the four primary arithmetic operations. The operator *
(asterisk) operates on two operands to produce the product.
Syntax
product = operand1 * operand2;
Parameters
product
: variable. Allowed data types: int
, float
, double
, byte
, short
, long
.
operand1
: variable or constant. Allowed data types: int
, float
, double
, byte
, short
, long
.
operand2
: variable or constant. Allowed data types: int
, float
, double
, byte
, short
, long
.