• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is overloading Polymorphism?`

 
prakash muthu
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
why do you say that overloading is polymorphism?
There is no late bindin assciated with method overloading.
Pls Explain
Regards
Prakash
 
Junilu Lacar
Bartender
Pie
Posts: 7754
61
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my favorite conversation on the topic: http://www.javaranch.com/ubb/Forum24/HTML/009465.html
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic