aspose file tools
The moose likes Beginning Java and the fly likes isinstanceOf/ equals Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "isinstanceOf/ equals" Watch "isinstanceOf/ equals" New topic
Author

isinstanceOf/ equals

aakash bhatt
Ranch Hand

Joined: Jan 09, 2003
Posts: 182
Diff of isinstanceOf and equals method in Object
Regards,
aakash
popoe shi
Greenhorn

Joined: Sep 14, 2003
Posts: 10
isinstanceOf:check this object is belog to some class
equals:to compare the object value
Right?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8876

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.


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: isinstanceOf/ equals
 
Similar Threads
Can't figure out what's wrong with this method
DIfference between instanceof and isinstanceof
Hibernate supports equals and not equals
Encapsulation and Scala
Exception Handling(Checked/Unchecked)