A.method_1 B.method_2 C.method_3 D.method_4
在Java語言中,如果你有下面的類定義:abstractclassShape{ abstractvoiddraw();} ClassSquareextendsShape{} 如果你試圖編譯上面的代碼會發(fā)生()。
A.一切成功編譯 B.Shape可以編譯,Square不能編譯 C.Square可以編譯,Shape不能編譯 D.Shape,Square都不能編譯
A.創(chuàng)建一個類mypackage.My_Class的對象 B.創(chuàng)建一個類mypackage.mysubpackage.My_Class的對象 C.該語句是錯誤的 D.創(chuàng)建一個類mypackage.My_Class的對象和一個類mypackage.mysubpackage.My_Class的對象