Bunu zaten okudunuz mu? Bunun hakkında ne düşünüyorsunuz?
👍👎
İzlenimler
b1568897977bir izlenim paylaşıldı4 yıl önce
👍Okumaya değer
Alıntılar
diormualıntı yaptı2 ay önce
The toString method should return a concise, useful description of the object
diormualıntı yaptı3 ay önce
providing a good toString implementation makes your class much more pleasant to use and makes systems using the class easier to debug.
diormualıntı yaptı3 ay önce
when is it appropriate to override equals? It is when a class has a notion of logical equality that differs from mere object identity and a superclass has not already overridden equals.