Ask Question
24 November, 15:30

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

+2
Answers (1)
  1. 24 November, 17:14
    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?
Find an answer to your question ✅ “What is the difference between = and = = in terms of java ... ? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers