以下程序调试结果为: 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); } }
A.
编译错误
B.
200
C.
100200
D.
100
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】Fill in the blanks with the proper form s of the words. 1. I’m very happy ______________ (have) this opportunity. 2. It’s really nice _____________ (talk) with you. Goodbye! 3. Jack has just _________...
【简答题】Dear Sirs, I am very happy to apply for the position of secretary, which you advertised in China Daily of December 10, 2005. I have been working as secretary at a college...
【简答题】听录音,将缺少的词补充完整。 I’m so pleased to ___1_____ Miss Lu Li, my former secretary to you. Miss Lu graduated from Hangzhou University, and her ___2_____ is Office Secretarial Affairs. After graduation, she ha...
【简答题】Fill in the blanks with the words given below. Change the form where necessary. Lawyers_____ such high fees but they never seem to be short of s. It's a matter of ______ that male businesspeople...
【简答题】听录音,将缺少的词补充完整。 I’m so pleased to ___1_____ Miss Lu Li, my former secretary to you. Miss Lu graduated from Hangzhou University, and her ___2_____ is Office Secretarial Affairs. After graduation, she ha...