类Teacher和Student是类Person的子类; Person p; Teacher t; Student s; //p, t and s are all non-null. if(t instanceof Person) { s = (Student)t; } 最后一句语句的结果是:()
A.将构造一个Student对象;
B.表达式是合法的;
C.表达式是错误的;
D.编译时正确,但运行时错误。
A.将构造一个Student对象;
B.表达式是合法的;
C.表达式是错误的;
D.编译时正确,但运行时错误。
第1题
A.继承关系
B.无关系
C.包含关系
D.关联关系
第2题
A、__gt__
B、__ge__
C、__lt__
D、__le__
第3题
Student: I'm nervous.
Teacher:______. Betty, you'll finish it quickly.
第4题
A.Student.name、stu1.name或stu2.name
B.Student.name或stu1.name
C.stu1.name或stu2.name
D.stu1.name
第5题
The teacher tried to make the new student feel______.
A.with ease
B.at leisure
C.at ease
D.at rest
第6题
第7题
The Indian was_______.
A.the doctor
B.the patient
C.the teacher
D.the student
第9题
Which of the following is TRUE of teacher's correction of his student's writing errors?
A.It is good to correct all the errors
B.A teacher should write something on the papers to encourage his students
C.A teacher' s handwriting must be tidy and clear
D.A teacher had better point out the way for each student to improve his writing
第10题
【D6】
STUDENT:I MEAN I WANT TO DO SOME OF THESE PROBLEMS. TEACHER: YEA
H. STUDENT:BUT IT" S TAKING TIME TO DO THE
M. TEACHER:WHEN WE COVER SOMETHING IN THE LESSON,【D5】______WORK OUT THE EXERCISES IN IT. ERM, WHEN YOU GET A LITTLE BIT STUCK,SORT IT OUT YOURSELF, AND THEN THIN
K. STUDENT: YEA
H.______ TEACHER: I KNOW I SEE HOW YOU DO IT. AND MAYBE IF YOU" RE TOTALLY STUCK,【D6】______STUDENT: YEA
H. TEACHER:IT" S REALLY THE MORE YOU DO, MM, ON YOUR OW
N. BECAUSE【D7】______YOU" RE GONNA BE ON YOUR OW
N. KEEP WORKING ON IT AND YOU"LL BE OKAY. A. WHEN IT COMES TO THE EXAM,
B. YOU NEED TO GO OVER IT YOURSEL
F.
C. THEN I CAN GO THROUGH IT AGAIN NEXT TIM
E.
D. YOU HAVE TO HAND IN YOUR HOMEWOR
K.
第11题
A.stu.__id
B.stu._stu__id
C.stu._Student__id
D.stu._Student.__id