An equals method is supposed to provide an equivalence


An equals method is supposed to provide an equivalence relation among the objects of a class. this means that if a, b, and c are non-null objects of the class then

i. a equals(s) is true

ii. a. equals(b) has the same value as b. equals (a)

iii. if a. equals (b) is true and b. equals (c) is true, then a. equals (c) is true

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: An equals method is supposed to provide an equivalence
Reference No:- TGS0662476

Expected delivery within 24 Hours