المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Discussion : Can we say Overloading as polymorphism



C# Programming
04-09-2009, 12:43 PM
Hi all,

as stated in the subject line can we say function overloading as polymorphism??

According to some oops authors overloading is compile time and overriding is runtime polymorphism!!!
However, if we visit the definition of Grady Booch for Polymorphism is "One interface many implementation",which means that overloading is not a type of polymorphism! (as interface gets changed when we change the function parameter)

What do you say?
What is your opinion?


Deep
Happy coding