![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术文摘
Mouse_Knight
这个作者很懒,什么都没留下…
展开
-
The different types of polymorphism in OOP-面向对象程序设计中的多态类型
There are four kinds of polymorphism at the computer-language level: coercion, overloading, parametric, and inclusion. Coercion polymorphism refers to a single operation serving several types原创 2008-02-15 21:52:00 · 929 阅读 · 0 评论 -
一些JAVA的基本概念
1.抽象:抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而只是选择其中的一部分,暂时不用部分细节。抽象包括两个方面,一是过程抽象,二是数据抽象。2.继承:继承是一种联结类的层次模型,并且允许和鼓励类的重用,它提供了一种明确表述共性的方法。对象的一个新类可以从现有的类中派生,这个过程称为类继承。新类继承了原始类的特性转载 2008-02-21 14:16:00 · 666 阅读 · 0 评论