【简答题】intece Com { int add(int a,int b); } abstract class A { abstract int add(int a,int b); } class B extends A implements Com{ public int add(int a,int b) { return a+b; } } public class E { public stat...
【简答题】请写出程序的运行结果。public class E {public static void main(String[] args) {Student stu = new Student();Com com = stu;int m = com.add(1,20);People p = stu;int n=p.add(1, 20);System.out.printf("%d:%d", m,n);}}i...