Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: What are HashCode and equals in Java and thay are implement in java?

  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    32
    My Mood
    Worried
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default What are HashCode and equals in Java and thay are implement in java?

    Dear all


    I am new in Java please help me to provide the solutions of What are HashCode and equals in Java and how thay are implemented in java.

    Thanks

    Regards

    Diya
    Last edited by copeg; December 13th, 2011 at 09:46 AM.


  2. #2
    Junior Member
    Join Date
    Sep 2011
    Posts
    5
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: What are HashCode and equals in Java and thay are implement in java?

    sounds like your teacher asked you that... try google, and then when you have read all about it come back with a more specific question what about hashcode and equals you don't understand.

    I'm also a beginner so i wont post a link becouse it may contain faults and by going through the forum the last day my feeling is that people dont realy want to give you an answer for you to bring back to school.

    No spoon-feeding allowed.

  3. The Following User Says Thank You to SkroefAudio For This Useful Post:

    KevinWorkman (September 9th, 2011)

  4. #3
    Junior Member shia's Avatar
    Join Date
    Sep 2011
    Location
    Manchester, UK
    Posts
    19
    My Mood
    Nerdy
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default Re: What are HashCode and equals in Java and thay are implement in java?

    Quote Originally Posted by diyaots View Post
    Dear all


    I am new in Java please help me to provide the solutions of What are HashCode and equals in Java and how thay are implemented in java.

    Thanks

    Regards

    Diya
    You will find the answers in the Java 6 API Documentation.

    Look up the Method Summary for java.lang.Object
    Last edited by shia; September 9th, 2011 at 08:42 AM. Reason: typo

  5. The Following User Says Thank You to shia For This Useful Post:

    KevinWorkman (September 9th, 2011)

Similar Threads

  1. how to implement timed out event in java?!
    By migongotar in forum Java Theory & Questions
    Replies: 3
    Last Post: December 15th, 2018, 07:41 AM
  2. Source Code to Implement Circular Queue in Java
    By rainbow9 in forum Java Programming Tutorials
    Replies: 0
    Last Post: August 20th, 2011, 02:30 AM
  3. Method Equals, Boolean...
    By boys8goods in forum Object Oriented Programming
    Replies: 1
    Last Post: June 25th, 2011, 03:34 PM
  4. [SOLVED] Difference between == and equals.
    By goldest in forum What's Wrong With My Code?
    Replies: 9
    Last Post: December 18th, 2010, 03:15 PM
  5. Equals Method
    By Sninald in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 18th, 2010, 03:06 AM