Computer Science, asked by 28xovenom, 1 month ago

state the difference between = and ==in java​

Answers

Answered by Chromatic
33

\huge\underline\bold\red{♡Answer♡}

= :- It is used for assigning the value to a variable.

== :- It is used for comparing two values. It returns 1 if both the values are equal otherwise returns 0.

Answered by mahekfatimasiddiqui7
0

(=)It is used for assigning the value to a variable.

(==) It is used for comparing two values. It returns 1 if both the values are equal otherwise returns 0.

Similar questions