多项选择题
A. In Java programming language only allows single inheritance.
B. In Java programming language allows a class to implement only one interface.
C. In Java programming language a class cannot extend a class and implement a interface together.
D. In Java programming language single inheritance makes code more reliable.
多项选择题 Whicharesyntacticallyvalidstatementat//pointx?() classPerson{ privateinta; publicintchange(intm){ returnm; } } publicclassTeacherextendsPerson{ publicintb; publicstaticvoidmain(Stringarg[]){ Personp=newPerson(); Teachert=newTeacher(); inti; //pointx } }
多项选择题 Whichofthefollowingfragmentsmightcauseerrors?()
单项选择题 Whichstatementofassigningalongtypevariabletoahexadecimalvalueiscorrect?()