摘要
在面向对象程序设计语言的应用中,Java中的方法重写与方法重载在应用中会存在很多问题,这些概念很容易混淆,本文就这些概念给出了一些详细的论述,在理论和应用中来介绍方法重写与方法重栽的区别.
In the application of object-oriented programming language,the method override and method overloading of Java will have many problems in the application,these concepts are easily confused,this article gives these concepts in details,in the theory and application of methods to introduce the difference between method override and method overloading.
出处
《计算机光盘软件与应用》
2010年第12期128-129,共2页
Computer CD Software and Application
关键词
继承
父类
子类
方法重写
方法重载
Inhefitance
Parent
Subclass
Method override
Method overloading