【单选题】抽象类A和抽象类Test的定义如下: abstract class A { abstract int getInfo() { } } public class Test extends A { private int a = 0; public int getInfo() { return a; } public static void main(String args[]) { Test b= ...
【单选题】抽象类A和类B的定义如下: abstract class A { abstract int getinfo(); } public class B extends A { private int a = 0; public int getinfo() { return a; } public static void main(String args[]) { B b = new B(); Sys...
【单选题】读程序,以下运行结果描述正确的是哪一个? abstract class Test{ static int i; abstract void amethod(); } public class Second extends Test{ public static void main(String args[]){ int[] a=new int[5]; for(int i=0;i System.ou...