执行以下代码后,下面哪些描述是正确的()
public class Student{
private String name = “Jema”;
public void setName(String name){
this.name = name;
}
public String getName(){
return this.name;
}
public static void main(String[] args){
Student s;
System.out.println(s.getName());
}
}
A.输出null
B.第10行编译报错
C.第11行编译报错
D.输出Jema