• 2022-06-06
    下列各种java类的定义,那种是错误的
    A: class Animal{}class Dog extends Animal {}
    B: final class Animal{}class Dog extends Animal{}
    C: abstract class Animal{}class Dog extends Animal{}
    D: public class Animal{}class Dog extends Animal{}