Computer Science, asked by pragyapathak12, 1 year ago

what is the difference between = and == in terms of java

Answers

Answered by ryan567
2
\huge{\red{Heya\:mate}}

\huge{\blue{Answer}}✔✔

\huge{\green{Java}}⤵⤵

<i><b><u>

= in java means that the given value is equal to the other value
eg -: a=b this means value of a and b is equal

== in java is used for comparison of two values
eg -: a%2==0 this means value of a after dividing by 2 is compared with zero

pragyapathak12: thank you so much
ryan567: welcome
Answered by sanjuashmita
0

Answer:

Explanation:

Click on the attachment to know the answer to this question

Attachments:
Similar questions