×

Loading...

take c++ for example,

wendywendy (wind)
polymorphism can be implemented by virtual function--connecting a function call to a function body at runtime

for overloading, a function call is connected to a function body at compiling and linking time---identify them by their different argument lists
(#236071@0)
2001-10-24 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: What's difference between overloading and polymorphism? I can not understand polymorphism. Please Help.Thanks

Back To Forum: HOME枫下论坛枫下论坛主坛加国之约移民留学申请