I would like to know how to find out the attributes of two objects of same class type whose values are different.
int x, y;
a a1 = new();
a a2 = new();
a1.x = 1;
a1.y = 2;
a2.x = 1;
a2.y = 3;
In output, I would like to have attributes/prints like below.
>> Between object a1 and a2, "Y" value is mismatching.
P.S : X and Y are just examples. There can be 100 attributes inside that class.