PPT Slide
Form of assignment:
<variable> = <expression> ;
Here, = does not mean equality! In Java,
Read x= y; as
“Assign y to x” or “x becomes y”
Read “x==y as “x equals y”
x==y (yields true if x and y contain the
same value and false otherwise)
Previous slide
Next slide
Back to first slide
View graphic version