Which is the difference between overloading and polymorphism?
newcountry 0 Newbie Poster
Recommended Answers
Jump to PostTypically when you overload something (a function for example), you're giving a new option as to how the client/programmer can use that function.
Polymorphism is slightly more difficult to describe. It's as if you're giving new meaning to an existing procedure in a way that is transparent to the …
Jump to PostOverloading is a type of polymorphism(more like a branch of it). Better still, let me put it this way:
polymorphism in the context of object-oriented programming, is the ability to create a variable, a function, or an object that has more than one form.
The terms overloading may …
All 7 Replies
Narue 5,707 Bad Cop Team Colleague
sarehu 84 Posting Whiz in Training
Alex Edwards 321 Posting Shark
smart_pc 0 Newbie Poster
jmdoza 0 Newbie Poster
Taywin 312 Posting Virtuoso
Netcode 33 Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.