×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 相约北美 / 移民留学 / What's difference between overloading and polymorphism? I can not understand polymorphism. Please Help.Thanks
    • sorry. that's the term in java...java gao shou please help.thx
      • It is not the term only in java.
    • 说来话长,伙计。前者也是后者的一种形式。
      • Is it said Overloading occurs at compile time,Polymorphism occurs at execution time? so overloading is a kind of polymorphism?
        • take c++ for example,
          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