r********r 发帖数: 11248 | 1 【 以下文字转载自 Movie 讨论区 】
发信人: firemana (Hua Huo), 信区: Movie
标 题: 程序员是怎么解释Inception的(剧透)。
发信站: BBS 未名空间站 (Thu Jul 29 11:48:51 2010, 美东)
严禁Syntax挑刺。
public void main()
{
Leader Cobb; Pointman Arthur; Client Saito; Architect Ariadne;
Target Fischer;
Forger Eames; Chemist Yusuf;
/* Saito hire Cobb to perform inception on Fischer, inception team
formed and they get on the plane */
new Thread(Yusuf.dream(Cobb, Arthur, Saito, Ariadne, Fischer,
Eames)).start();
Thread.sleep( a f |
h*****k 发帖数: 5022 | |
r****y 发帖数: 26819 | 3 是啊,不知道用纯虚函数。
【在 h*****k 的大作中提到】 : 这个剧透厉害了..
|
l******e 发帖数: 12192 | 4 你居然用c++这么落后的语言
【在 r****y 的大作中提到】 : 是啊,不知道用纯虚函数。
|
h*****k 发帖数: 5022 | 5 java没有纯虚函数?
【在 l******e 的大作中提到】 : 你居然用c++这么落后的语言
|
l******e 发帖数: 12192 | 6 有abstract method
看,你圡了吧
【在 h*****k 的大作中提到】 : java没有纯虚函数?
|
w*******g 发帖数: 9932 | 7 圡的是你.
all Java methods are virtual by default.
abstract method has nothing to do with this.
【在 l******e 的大作中提到】 : 有abstract method : 看,你圡了吧
|
l******e 发帖数: 12192 | 8 PURE virtual method
眼神呀眼神
【在 w*******g 的大作中提到】 : 圡的是你. : all Java methods are virtual by default. : abstract method has nothing to do with this.
|
w*******g 发帖数: 9932 | 9 all Java methods are virtual and there is no such thing as a pure virtual
method.
C++ has explicitly declared virtual function and the same goes for C#.
virtual method or function permits dynamic dispatch where subclass overrides
methods of parent classes.
I don't know what pure virtual method could mean here.
Abstract method has no implementation. There is nothing more to it.
【在 l******e 的大作中提到】 : PURE virtual method : 眼神呀眼神
|
l******e 发帖数: 12192 | 10 所以你在跟我废话
我就是在告诉hrfrank,java没有pure virtual method这个说法,abstract method类似
于c++的pvm
回帖不看帖的典型呀
overrides
【在 w*******g 的大作中提到】 : all Java methods are virtual and there is no such thing as a pure virtual : method. : C++ has explicitly declared virtual function and the same goes for C#. : virtual method or function permits dynamic dispatch where subclass overrides : methods of parent classes. : I don't know what pure virtual method could mean here. : Abstract method has no implementation. There is nothing more to it.
|