执行下面程序段,屏幕上将输出( )。 public class Test { private int x=10,y=20; public Test (int x,int y) { System.out.println (x+this.x); System.out.println (y+y); } public static void main (String[] args) { Testt= new Test(30,50); } }

题库:计算机等级考试 类型:最佳选择题 时间:2017-07-03 16:57:35 免费下载:《单选题》Word试卷

执行下面程序段,屏幕上将输出( )。 public class Test { private int x=10,y=20; public Test (int x,int y) { System.out.println (x+this.x); System.out.println (y+y); } public static void main (String[] args) { Testt= new Test(30,50); } }
A.无输出
B.20 40
C.40 100
D.40 70

执行下面程序段,屏幕上将输出(  )。  public class Test {    private int x=10,y=20;    public Tes

本题关键词:输出段梗阻,屏幕脸,空肠输出段梗,屏幕拷贝,面试程序,执行阶段,大屏幕投影仪,上下并行,行政诉讼程序,幕墙工程;

微信扫码获取答案解析
下载APP查看答案解析