下列选项中关于Student类的构造方法定义正确的是。public class Student string name = ;1 姓名int age = o; l年龄String school = ;1 l学校选择一项A public void Student thisname = Tom;B public void studentString name thisname = name;t
C : public Student(String name, int age) { this.name = name; this.age = age; }
原文地址: https://www.cveoy.top/t/topic/h7BA 著作权归作者所有。请勿转载和采集!