Java – Assignment operators

Java – Assignment operators 2017-08-09T09:44:32+00:00

var = expression;

int x, y, z;

x = y = z = 50; // set x, y, and z to 50

EX.

?


Output :
<————Assignment Operator————->
x + y + z = 150

Prev Next