Difference between "==" and "equals" when comparing objects

//When comparing objects, the difference between "==" and "equals"
//"==", compare two references, whether they point to the same address in the heap memory
//"equals", compare the values , are equal

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327041357&siteId=291194637