【单选题】以下程序调试结果为:private class Base{ Base(){ int i = 100; System.out.println(i); }}public class Pri extends Base{ static int i = 200; public static void main(String argv[]){ Pri p = new Pri(); System...
【单选题】以下程序调试结果为: private class Base{ Base(){ int i = 100; System.out.println(i); } } public class Pri extends Base{ static int i = 200; public static void main(String argv[]){ Pri p = new Pri(); System.out....
【单选题】以下程序调试结果为: class Base{ Base(){ int i = 100; System.out.print (i); } } public class Pri extends Base{ static int i = 200; public static void main(String argv[]){ Pri p = new Pri(); System.out.print(i)...
【单选题】以下程序调试结果为: class Base{ Base(){ int i = 100; System.out.println(i); } } public class Pri extends Base{ static int i = 200; public static void main(String argv[]){ Pri p = new Pri(); System.out.println(...
【单选题】以下程序调试结果为: private class Base{ Base(){ int i = 100; System.out.println(i); } } public class Pri extends Base{ static int i = 200; public static void main(String argv[]){ Pri p = new Pri(); System.out....
【单选题】以下程序调试结果为: public class Test { int m = 5; public void some(int x) { m = x; } public static void main(String args []) { new Demo().some(7); } } class Demo extends Test { int m = 8; public void some(i...