【单选题】classPerson{privateinta;publicintchange(intm){returnm;}}publicclassTeacherextendsPerson{publicintb;publicstaticvoidmain(Stringarg[]){Personp=newPerson();Teachert=newTeacher();inti;//pointx}}Whicharesyntacticallyvalidstatementat//pointx? A. i = m; B. i = b; C. i = p.a; D. i = p.change(30);
【单选题】classPerson{privateinta;publicintchange(intm){returnm;}}publicclassTeacherextendsPerson{publicintb;publicstaticvoidmain(Stringarg[]){Personp=newPerson();Teachert=newTeacher();inti;//pointx}}Whicharesyntacticallyvalidstatementat//pointx? A. i = m; B. i = b; C. i = p.a; D. i = p.change(30);
1