下列类定义中哪个是合法的抽象类定义( )
(A)class Animal { abstract void growl();}
(B)abstract Animal{abstract void growl();}
(C)abstract class Animal{abstract void growl();}
(D)class abstract Animal{ abstract void growl();}
参考答案
继续答题:下一题
(A)class Animal { abstract void growl();}
(B)abstract Animal{abstract void growl();}
(C)abstract class Animal{abstract void growl();}
(D)class abstract Animal{ abstract void growl();}