找回密码
 立即注册
笼统接口generalinterfaces | Applet 2022-10-06 60 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
结构Java语言程序有两大基本构件:类和接口。接口由常量和笼统方法构成。一个接口可以扩展多个接口,一个接口也可以被多个接口所承继。笼统类可以用来表明那些不能或不需要实例化的笼统概念,笼统需要被承继,在笼统类中包括了一些子类共有的属性和行为。把一组相关类和接口存放在一个“包”中,构成一个“类库”,然后供多个场合重复使用,这种机制称为类复用。
《Java程序设计与使用开发》第4章:接口、笼统类与包.PPT

(Structured Java language programs have two basic components: classes and interfaces. Interfaces consist of constants and general methods. An interface can extend multiple interfaces, and an interface can also be inherited by multiple interfaces. General classes can be used to indicate those general concepts that cannot or do not need to be instantiated. General classes need to be inherited. General classes include some attributes and behaviors shared by subclasses. The mechanism of storing a group of related classes and interfaces in a "package" to form a "class library" for reuse in multiple occasions is called class reuse.
Chapter 4 of Java Program Design, Use and Development: Interface, General Class and Package.ppt)

[下载]10380626538.rar




上一篇:java 反射
下一篇:java 教程笔记