asked 70.3k views
16 votes
What is the difference between the = operator and the == operator in Java?

= denotes an allocation, and == denotes an assignment

= denotes an assignment, and == denotes a comparison

= denotes an initialization, and == denotes a comparison

= denotes a comparison, and == denotes an assignment

1 Answer

4 votes

Answer:

The are different severs I guess

Step-by-step explanation:

answered
User Guy Bouallet
by
8.2k points