unless you override equals(), two objects are considered equal only if the two references refer to the same object.
What do you mean?
If i override the equals() method, i can only get a "true" if both references are only in the same object?
If it is, it depends on the new implementation....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|