下面程序代码输出结果是 public class Test{ int x,y; Test(int x,int y ){ this.x = x; this.y = y; } public static void main(String args[]){ Test p1,p2; p1 = new Test(3,3); p2 = new Test(4,4); System.out.println(p1.x+p2.x); } }
A.
6
B.
34
C.
7
D.
8
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【判断题】You have to be born in the U.S. to become the president of the United States.
【简答题】Zhongshan, China Beijing is a beautiful city with a long history. There are many Travel Agency famous buildings and mystery stories here. It’s a good place to Complaint telephone: ...