Revature interview question

Difference between == and .equals()

Interview Answer

Anonymous

11 Jan 2019

== checks if they are the the same address .equals() checks if they are the same value

Revature Interview Question: Difference between == and .equals() | Glassdoor