File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Overriding,Overloading methods Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Overriding,Overloading methods" Watch "Overriding,Overloading methods" New topic
Author

Overriding,Overloading methods

Frank White
Greenhorn

Joined: Mar 01, 2008
Posts: 7
I'm new to java, and I have a question. If I have the following:

I'm reading this book and i'm getting confused. Which is the overridding method(s) and overloading method(s), and what is the difference. How is this different from an overloaded constructer?

Thank you,
Moonjuice


Edit by mw: Added Code Tags to preserve formatting of diagram.
[ March 05, 2008: Message edited by: marc weber ]
Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
In this scenario there is overridden methods. All are overloaded.


Jeremy Wilson
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

"Moonjuice,"

Welcome to JavaRanch! Please check your private messages by clicking on My Private Messages. Thanks!


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

I'm confused by your diagram. This is similar to something described in Thinking in Java under the topic, Is-a vs. is-like-a relationships. Is this the example that you're working from? Or is there a more detailed version?
Amir Pourteymour
Ranch Hand

Joined: Mar 06, 2008
Posts: 45
Overloading
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overriding,Overloading methods
 
Similar Threads
overriding / overloading
Interfaces
question about reference and method invoke
Doubt in Thread output
Function Overloading