• 2022-05-28
    public class Dog(){...}下列哪个选项可以是Dog类的构造方法
    A: public Dog(){ }
    B: public void Dog(){ }
    C: public dog(){ }
    D: public void dog(){ }