The moose likes Beginning Java and the fly likes Is overloading Polymorphism?` Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Is overloading Polymorphism?`" Watch "Is overloading Polymorphism?`" New topic

Is overloading Polymorphism?`

prakash muthu
Ranch Hand

Joined: Sep 06, 2000
Posts: 75
why do you say that overloading is polymorphism?
There is no late bindin assciated with method overloading.
Pls Explain

Prakash.M<BR>Bangalore- India<BR>(
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

This has been debated here and elsewhere many times. Do a search on "overloading polymorphism" to find threads discussing this.
My personal take on it is very liberal: since polymorphism means "many forms", then overloading is just one way of making your object/method take different forms. Of course, there are those who will argue that it isn't "true" polymorphism but hey, as long as I can do it, I really don't care what you call it
Junilu Lacar

Junilu - [How to Ask Questions] [How to Answer Questions]
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
This is my favorite conversation on the topic:

"JavaRanch, where the deer and the Certified play" - David O'Meara
Michael Ernest
High Plains Drifter

Joined: Oct 25, 2000
Posts: 7292

Woo hoo, two Java women goin' at it! I'd normally pay to read sumpn like that.
Michael Ernest, co-author of: The Complete Java 2 Certification Study Guide

Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
I agree. Here's the link:
subject: Is overloading Polymorphism?`
It's not a secret anymore!