| Author |
basic thing about toString,equal(),hashCode()
|
Rakesh Bagaria
Greenhorn
Joined: Sep 06, 2009
Posts: 13
|
|
hello everyone
i am little confuse about toString(), equal(), hashCode(). please explain properly that when object class function get called when abstract collection class called and so on.
Please Explain with proper diagram and when toString() is used and when valueOf() used in string conversion please Explain . thanks
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
|
please "GOOGLE" . it would be better
|
 |
Muhammad Khojaye
Ranch Hand
Joined: Apr 12, 2009
Posts: 341
|
|
|
Have you seen the Javadocs for these methods.
|
http://muhammadkhojaye.blogspot.com/
|
 |
Vinod Tiwari
Ranch Hand
Joined: Feb 06, 2008
Posts: 458
|
|
Hi Rakesh,
Please read this http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html , these are methods of object class. If its still unclear then post again in this link. We'll help.
-Vinod
|
Vinod Tiwari | Twitter
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32648
|
|
|
Google for Angelika Langer Java equals which has lots of useful information in.
|
 |
 |
|
|
subject: basic thing about toString,equal(),hashCode()
|
|
|