Computer Science, asked by Anonymous, 3 months ago

when to use == in Java and what does (s==n) mean ?

don't ans if u don't know ​

Answers

Answered by Rainncoat
1

Answer:

In Java, the == operator compares the two objects to see if they point to the same memory location; while the . equals() method actually compares the two objects to see if they have the same object value.

Pls mark as Brainliest and give thanks :)

Answered by pousalidolai59
2

Answer:

In Java, the = operator compares the two objects to see if they point to the same memory location; while the. equals() method actually compares the two objects to see if they have the same object value.

PLEASE MARK ME BRAINLIEST

Similar questions