er和Student是类Person的子类 Person p Teacher t Student s //p t and s are all non-null. ift instanceof Person s Studentt 最后一句语句的结果是 A、 将构造一个Student对象 B、 表达式是合法的 C、 表达式是错误的 D、 编译时正确但运行时错误。
79.给出下面代码段 1 public class Test 2 int m n 3 public Test 4 public Testint a ma 5 public static void mainString arg 6 Test t1t2 7 int jk 8 j0 k0 9 t1new Test 10 t2new Testjk 11 12 哪行将引起一个编译时错误 A、 line 3 B、 line 5 C、 line 6 D、 line 10 16 80.对于下列代码 1 class Person 2 public void printValueint i int j //... 3 public void printValueint i//... 4 5 public class Teacher extends Person .