1.

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

Answer» \huge{\red{Heya\:mate}}

\huge{\blue{Answer}}✔✔

\huge{\green{Java}}⤵⤵



= 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


Discussion

No Comment Found