Posts by ruth • 83 points
1 post
-
8
votes2
answers5688
viewsQ: Object Comparison
The code below generates a false, but objects have the same attribute values, there is some method that compares objects, but their attributes, and not the object itself? Produto P5 = new Produto(1,…