Two Laptop Bag
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

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Polymorphism" Watch "Polymorphism" New topic


Luiz Pereira

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?

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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Polymorphism
It's not a secret anymore!