I have studied from our mentors and books that polymorphism means having many shapes and in java it is achieved by two ways.
- overloading
- overriding.
in oracle docs polymorphism in defined very well. but i don't understand why they have not defined overloading under polymorphism they have discussed only overriding? I guess by the means many shapes overloading should also come under polymorphism.
I have already gone through all the questions but i m not clear from these answers because everyone have stated their views without any reference, everyone have different views some are saying yes others are saying no without justification.
I think the highlighted portion (referenced from Java The Complete reference 8th ed) is written example of overloading.
Then how everyone says overloading has nothing todo with ovrloading but overriding?
that how polymorphism is not achieved by overloading?

 
     
    