Ved International Discussion Board


Join the forum, it's quick and easy

Ved International Discussion Board
Ved International Discussion Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The equals Method

2 posters

Go down

The equals Method Empty The equals Method

Post by binusasi Wed Jul 11, 2012 6:04 pm

The equals Method
The equals method in the Object class tests whether one object is considered equal to another.
The equals method, as implemented in the Object class, determines whether two object references
are identical. This is a pretty reasonable default—if two objects are identical, they
should certainly be equal. For quite a few classes, nothing else is required. For example, it
makes little sense to compare two PrintStream objects for equality. However, you will often
want to implement state-based equality testing, in which two objects are considered equal
when they have the same state.
binusasi
binusasi
LEADER Of ALL
LEADER Of ALL

Posts : 7988
Join date : 2011-12-07

Back to top Go down

The equals Method Empty Re: The equals Method

Post by nxanam Wed Jul 11, 2012 6:27 pm

I really like ur style of the thread, hope u will get lots of success all the best my frn,just keep it up
nxanam
nxanam
Eligible
Eligible

Posts : 1590
Join date : 2012-06-05
Location : Bhaktapur

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum