Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
overloading and polymorphism in c++
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
overloading and polymorphism

Dear Sir, please elaborate what is the difference between overloading and polymorphism as overloading also works the same way. I read from different intersits defining overloading is a kind of polymorphism. Thanks
Reply
#2
Overloading is an implementation of polymorphism.

Polymorphism is an abstract concept.

Polymorphism allows a single definition for multiple data types. Overloading is a specific case of polymorphism where some operators have different implementations depending on the types of arguments.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is Function Overloading in C++ Vuhelper 0 5,426 05-31-2012, 01:45 AM
Last Post: Vuhelper
  cascading operator overloading in c++ 2011 saneha 1 2,980 05-02-2011, 05:08 PM
Last Post: Vuhelper
  what is function overloading and memory leak ? saneha 1 2,361 05-02-2011, 06:07 AM
Last Post: Vuhelper
  What is polymorphism in c++ 2011 saneha 1 2,532 04-29-2011, 07:58 AM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support