This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Java in General and the fly likes Polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Polymorphism" Watch "Polymorphism" New topic
Author

Polymorphism

Luiz Pereira
Greenhorn

Joined: Mar 18, 2004
Posts: 6
I'm studing about override and overload. I found in books and papers diferent opinions about this subject.
Some authors consider override and overload as polymorphism, others consider olny override as polymorphism and overload as feature of OO.

Is overload one kind of polymorphism?

Thanks.
Kedar Dravid
Ranch Hand

Joined: May 28, 2004
Posts: 333
I am not too sure about this, but I read this somewhere:

In Java,
dynamic polymorphism: Overriding
static polymorphism (if there is such athing in Java): Overloading
Luiz Pereira
Greenhorn

Joined: Mar 18, 2004
Posts: 6
I work with java too, the Katty's book for certification not consider overload as polymorphism, but, I read others book about java that consider.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Polymorphism
 
Similar Threads
can a class or a java file have more than one "main "method?
runnable
OverLoading Question
Overriding
basic oo overriding question