wood burning stoves 2.0*
The moose likes Java in General and the fly likes Polymorphism Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Polymorphism
 
Similar Threads
basic oo overriding question
runnable
OverLoading Question
Overriding
can a class or a java file have more than one "main "method?