aspose file tools*
The moose likes Java in General and the fly likes cau give clear explanation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "cau give clear explanation" Watch "cau give clear explanation" New topic
Author

cau give clear explanation

anilkumar choudary
Greenhorn

Joined: Jun 15, 2006
Posts: 6
1)is overloading is related to one class only or it can be extended in the derived class,also
2) why we need the hash code where we use it in realtime
Ken Blair
Ranch Hand

Joined: Jul 15, 2003
Posts: 1078
1. Both. One class may have two or more methods with the same name but different signatures. When this happens it is said to be overloaded. Likewise a class may have a method with the same name and a different signature than one inherited from another class, this is still overloading.

2. See HashMap for one example.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cau give clear explanation