Ask Question
21 April, 22:45

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

+1
Answers (1)
  1. 22 April, 00:26
    0
    = is for assignment, = = is for comparison.

    So x=2 means: assign the value 2 to the variable x.

    and

    x==2 means: is variable x equal to 2, yes or no?
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the difference between = and = = in terms of java ... ? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers