Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区 » Java与OOP初步  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 问一个弱弱的问题,什么叫超类?
linlinhit





发贴: 1
积分: 0
于 2005-12-28 14:56 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我没有找到定义,哪位指教一下,谢谢了


作者 Re:问一个弱弱的问题,什么叫超类? [Re:linlinhit]
bluecrystal





发贴: 2788991
积分: 48
于 2005-12-28 17:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
相对概念,我觉得准确点应该叫做父类,基类等等,对应于前者,有子类,对应于后者,叫派生类


Just Software & Travel
-- 我的blog -- 技术点滴/经验分享
作者 Re:问一个弱弱的问题,什么叫超类? [Re:linlinhit]
毒毒√快山





发贴: 23
积分: 0
于 2006-01-23 17:30 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
靠,一句话,本人认为,就是没有子类、或,派生类的。类。


作者 Re:问一个弱弱的问题,什么叫超类? [Re:毒毒√快山]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2006-01-23 23:54 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
毒毒√快山 wrote:
靠,一句话,本人认为,就是没有子类、或,派生类的。类。

不知所謂!



作者 Re:问一个弱弱的问题,什么叫超类? [Re:linlinhit]
毒毒√快山





发贴: 23
积分: 0
于 2006-01-24 11:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
????错拉。不是吧,那就告诉我啊。什么叫超类啊。

要不就是,最上最上最上的那个类吧。


why edited on 2006-01-24 13:19

作者 Re:问一个弱弱的问题,什么叫超类? [Re:毒毒√快山]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2006-01-24 13:19 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
毒毒√快山 wrote:
????错拉。不是吧,那就告诉我啊。什么叫超类啊。

要不就是,最上最上最上的那个类吧。

Why don't you read bluecrystal's reply?
superclass == parent class == base class
subclass == child class == derived class

http://java.sun.com/docs/books/tutorial/information/glossary.html#superclass
superclass
A class from which a particular class is derived, perhaps with one or more classes in between.

Note that a class could both be a subclass and a superclass.
"就是没有子类或派生类的类"或"最上最上最上的那个类"都是一派胡言



作者 Re:问一个弱弱的问题,什么叫超类? [Re:linlinhit]
javadd





发贴: 736
积分: 77
于 2006-01-24 13:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
由super直译,叫父类比较合适.




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923