how can i compare two objects in Java?

Joined
Aug 3, 2009
Messages
3
Reaction score
0
//two hashtables are equal if and only if they have the same element.
//Elements do not necessarily have to be at the same indeces.

/* i have to create this method which takes an argument the object h from a class MyStringHashTable, my question is, how can i compare two objects which is an arry of strings?
*/

boolean isEqual(MyStringHashTable h){
//
}
can u tell me how can i do this? please..
sweet thanks...:love: :love: :love: :love: :love:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top