计算机科学 > 程序设计语言
[提交于 2014年3月21日]
标题:Comparative Study of the Function Overloading and Function Overriding Using C++
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In the Object-Oriented Programming Systems (OOPS), these two concepts namely function overloading and function overriding are a bit confusing to the programmers. In this article this confusion is tried to be removed. Both of these are the concepts which come under the polymorphism (poly means many and morph mean forms). In the article the comparison is done in between them. For the new programmers and the learners, it is important to understand them. The function overloading [1] is achieved at the time of the compile and the function overriding is achieved at the run time. The function overriding always takes place in inheritance, but the function overloading can also take place without inheritance.
提交历史
来自:Brijender Kahanwal Dr.[v1] 2014年3月21日 星期五 05:33:03 UTC