Java 面试题目,顶者有分

WeiWY 2005-11-04 12:21:42
1.What are delegation? Give an example.
2.Whe are constructors not specified as part of an interface?
3.Some are of the view that it would be simpler to abandon the idea of abstract calsses,and instead to use an ordinary class with null or aborting implementations of methods that the user is supposed to override. Is this a good idea?
...全文
928 38 打赏 收藏 转发到动态 举报
写回复
用AI写文章
38 条回复
切换为时间正序
请发表友善的回复…
发表回复
anleey 2005-11-07
  • 打赏
  • 举报
回复
唉,e文不好啊。
WeiWY 2005-11-07
  • 打赏
  • 举报
回复
谢谢大家,分太少了,不知道怎么加分
WeiWY 2005-11-07
  • 打赏
  • 举报
回复
谢谢大家,whe 系why拼写错误。delegation好像是java中的委托吧?
pauliuyou 2005-11-07
  • 打赏
  • 举报
回复
up
bsrweibin 2005-11-05
  • 打赏
  • 举报
回复
不是很难啊 可是我看不懂啊
霖湘凝 2005-11-05
  • 打赏
  • 举报
回复
up
mylove001 2005-11-05
  • 打赏
  • 举报
回复
英文啊,头痛!
chw8219 2005-11-05
  • 打赏
  • 举报
回复
英文啊,头痛!
bboyyang 2005-11-05
  • 打赏
  • 举报
回复
问题看懂了 就是不知道答案 还要努力学习
cozmic 2005-11-05
  • 打赏
  • 举报
回复
Q3: 共享的代码上移原则
cozmic 2005-11-05
  • 打赏
  • 举报
回复
Q1: Proxy, or Delegation? The former is a design pattern. In java Class Refection is a good example. The latter means the same as the former do in java.
Q3: Actually a more elegant and effective way to programe contains there lays, that is,Interface, Abstract Class, Class, just as Java API implies. The first one tells the property and action of an objective thing, and second one prescribe how it will be like, and the last one define what it is. Based on this idea, it is not hard for us to understand why abstract class is indispensable. In fact, when programming, we usually reduce the problem to a set of interface, then we use Abstract Classes which implement the interface to descripe possible actions of this kind of problem; each Abstract Class for each possible actions. and finally we define exactly how the problem is respectively solved.
learnerfeifei 2005-11-05
  • 打赏
  • 举报
回复
唉 看来我得去学英语先哦
yy80680169 2005-11-05
  • 打赏
  • 举报
回复
迷糊,UP
gdmmking 2005-11-05
  • 打赏
  • 举报
回复
明天六点起床背词了
xiayh1002 2005-11-05
  • 打赏
  • 举报
回复

We must study english more hardly.
quleaf 2005-11-05
  • 打赏
  • 举报
回复
Some are of the view that it would be simpler to abandon the idea of abstract calsses,and instead to use an ordinary class with null or aborting implementations of methods that the user is supposed to override. Is this a good idea?
i think so


wyvern2x 2005-11-05
  • 打赏
  • 举报
回复
ding
wb0622 2005-11-05
  • 打赏
  • 举报
回复
这么多人顶了,只有20分怎么够呀?

楼主再开个贴子我们继续顶
kidonline 2005-11-05
  • 打赏
  • 举报
回复

auzn3224 2005-11-05
  • 打赏
  • 举报
回复
我要回去学英语啊,
快六级考试了
加载更多回复(18)

62,614

社区成员

发帖
与我相关
我的任务
社区描述
Java 2 Standard Edition
社区管理员
  • Java SE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧