Shashibhai Muley

Greenhorn
+ Follow
since Jul 09, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shashibhai Muley

How many types of polymorphism are there in java. I don't agree on two types of polymorphism in java. People use to say there are 2 types of polymorphism in java, static(method overloading) and dynamic(method overriding). But ideally there won't be any polymorphism without inheritance. Method overloading can be achieved without inheritance so its not a pholymorphism. Only method overriding is a actual method overriding as it can be done only after inheriting the parent class. Similarly there won't be inheritance without Abstraction. Any comments on this will be appreciated so please give your view on polymorphism in java.

Thanks in advance.

regards
shashi
9 years ago