A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jan 09, 2003
Sep 26, 2003 02:16:00
Diff of isinstanceOf and equals method in Object
Joined: Sep 14, 2003
Sep 26, 2003 02:30:00
isinstanceOf:check this object is belog to some class
equals:to compare the object value
Joined: Feb 27, 2002
Sep 26, 2003 05:36:00
instanceOf : Checks whether a class in an instance of a class or implememnts a interface.
equals : Checks whether an object equals another object as per the rules defined in the equals method.
I agree. Here's the link:
subject: isinstanceOf/ equals
Hibernate supports equals and not equals
DIfference between instanceof and isinstanceof
Encapsulation and Scala
Can't figure out what's wrong with this method
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014