单项选择题
类Student代码如下:
class Student{
String name;
int age;
Student(String nm){
name = nm; } }
执行语句Student stu = new Student()后,字段age的值是哪项?()
A. 0
B. null
C. false
D. 编译错误
点击查看答案&解析
相关考题
