单项选择题
在Java语言中,如果你有下面的类定义:
Abstract class Shape{ Abstract void draw(); }
class Square extendeds Shape{}
如果你试图编译上面的代码会发生()。
A.一切成功编译
B.Shape可以编译,Square不能编译
C.Square可以编译,Shape不能编译
D.Shape,Square都不能编译
点击查看答案&解析
相关考题
