阅读程序,判断有误的语句是:Student.java源代码:package entity;class Money{}public class Student {private String getSno() {return sno;}public void setSno(String sno) {}public String getName() {return name;}public void setName(String name) {this.name = name;}public int getAge() {return age;}public void setAge(int age) {this.age = age;}public String getSex() {return sex;}public void setSex(String sex) {this.sex = sex;}public String getSclass() {return sclass;}public void setSclass(String sclass) {this.sclass = sclass;}String sno;String name;int age;String sex;String sclass;}Test.java源代码:package view;import entity.*;public class Test {public static void main(String[] args) {entity.Student s1= new Student();entity.Money m = new Money();}}
A. Test.java源代码中的import entity.*;
B. Test.java源代码中的entity.Student s1= new Student();
C. Test.java源代码中的public class Test
D. Test.java源代码中的entity.Money m = new Money();