下列类定义中哪些是合法的抽象类的定义?( )
A.abstract Animal{abstract void growl();} B.class abstract Animal{abstract void growl();} C.abstract class Animal{abstract void growl();} D.abstract class Animal{abstract void growl(){System.out.println(“growl”);};}正确答案C
下列类定义中哪些是合法的抽象类的定义?( )
A.abstract Animal{abstract void growl();} B.class abstract Animal{abstract void growl();} C.abstract class Animal{abstract void growl();} D.abstract class Animal{abstract void growl(){System.out.println(“growl”);};}正确答案C