单项选择题
A. on line 2
B. on line 3
C. on line 6
D. on line 7
多项选择题 Whichstatementsaboutinheritancearetrue?()
多项选择题 Whicharesyntacticallyvalidstatementat//pointx?() classPerson{ privateinta; publicintchange(intm){ returnm; } } publicclassTeacherextendsPerson{ publicintb; publicstaticvoidmain(Stringarg[]){ Personp=newPerson(); Teachert=newTeacher(); inti; //pointx } }
多项选择题 Whichofthefollowingfragmentsmightcauseerrors?()