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
2001-10-24 -05:00

回到话题: What's difference between overloading and polymorphism? I can not understand polymorphism. Please Help.Thanks

回到论坛: HOME枫下论坛枫下论坛主坛加国之约移民留学申请