question archive The class Object defines an equals() method to compare objects
Subject:Computer SciencePrice: Bought3
The class Object defines an equals() method to compare objects. In detail explanation, specify the advantages and disadvantages of using this method and suggest an alternative for equality.
Make sure that your explanation is detail and clear enough to understand. Also provide some examples.