What does mean by saying polymorphism allows programming in general rather then programming in specific?
PulsarScript 0 Junior Poster
Recommended Answers
Jump to PostIf you break up the root parts of the word you get "poly" meaning "many" and "morphism" meaning "form" (loosely). Take method names. Let's say you want a method to find the absolute value of a number. In ore-OOP programming you would need (this is not necessarily a complete list
…
Jump to PostJust for clarity:
There are two types of polymorphism, and one thing that isn't called polymorphism, in this discussionOverloading: You have multiple methods with the same name but different parameter types. The correct method is chosen at compile time based on the actual types of the parameters that you …
All 5 Replies
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
PulsarScript 0 Junior Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
Reverend Jim 5,225 Hi, I'm Jim, one of DaniWeb's moderators. Moderator Featured Poster
JamesCherrill 4,733 Most Valuable Poster Team Colleague Featured 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.