• 2022-06-18 问题

    类test的定义如下,$x是类test的对象,则4个选项中,正确的是()。 A: $x、a=1; B: $x->a=1; C: $x、b=1; D: $x->b=1;

    类test的定义如下,$x是类test的对象,则4个选项中,正确的是()。 A: $x、a=1; B: $x->a=1; C: $x、b=1; D: $x->b=1;

  • 2022-06-01 问题

    var x=1;function test(){ console.log(x);var x=19;console.log(x);}console.log(x);test();console.log(x);程序执行完毕,控制台依次打印x的值为:___、____、____、____

    var x=1;function test(){ console.log(x);var x=19;console.log(x);}console.log(x);test();console.log(x);程序执行完毕,控制台依次打印x的值为:___、____、____、____

  • 2022-06-08 问题

    下列代码的运行结果是______ <script> var x = 1; function test() { var x = 2; y = 3; document.write(x); } test(); document.write(x); document.write(y); </script>

    下列代码的运行结果是______ <script> var x = 1; function test() { var x = 2; y = 3; document.write(x); } test(); document.write(x); document.write(y); </script>

  • 2021-04-14 问题

    【单选题】方差未知的单个正态总体均值的假设检验时,原假设是 μ≥300 ,显著性水平是 0.05,检验方法是() A. [h,p,ci]= t test(x, 300 , 0.95 , -1 ) B. [h,p,ci]= t test(x, 300 , 0.95 , 1 ) C. [h,p,ci]= t test(x, 300 , 1 ) D. [h,p,ci]= t test(x, 300 , -1 )

    【单选题】方差未知的单个正态总体均值的假设检验时,原假设是 μ≥300 ,显著性水平是 0.05,检验方法是() A. [h,p,ci]= t test(x, 300 , 0.95 , -1 ) B. [h,p,ci]= t test(x, 300 , 0.95 , 1 ) C. [h,p,ci]= t test(x, 300 , 1 ) D. [h,p,ci]= t test(x, 300 , -1 )

  • 2022-06-15 问题

    有如下程序:#includeusing namespace std;Class Testpublic:Test()Test(const Test&t)cout<<1;);Test fun(Test &u)Test t=u;retum t;int main()Test X,y;x=fun(y);retum 0;运行这个程序的输出结果是()。 A: 无输出 B: 1 C: 11 D: 111

    有如下程序:#includeusing namespace std;Class Testpublic:Test()Test(const Test&t)cout<<1;);Test fun(Test &u)Test t=u;retum t;int main()Test X,y;x=fun(y);retum 0;运行这个程序的输出结果是()。 A: 无输出 B: 1 C: 11 D: 111

  • 2022-05-29 问题

    设有泛型类的定义如下class Test; { }则由该类创建对象时,使用正确的是? A: Test; x = new Test;(); B: Test x = new Test(); C: Test; x = new Test;(); D: Test; x = new Test;();

    设有泛型类的定义如下class Test; { }则由该类创建对象时,使用正确的是? A: Test; x = new Test;(); B: Test x = new Test(); C: Test; x = new Test;(); D: Test; x = new Test;();

  • 2022-06-15 问题

    class Test{int x;static int y;static void Main(){Test t = new Test();t.x = 1;t.y = 1;test.x = 1;test.y = 1;}}以上程序中共有几句错误() A: 1 B: 2 C: 3 D: 4

    class Test{int x;static int y;static void Main(){Test t = new Test();t.x = 1;t.y = 1;test.x = 1;test.y = 1;}}以上程序中共有几句错误() A: 1 B: 2 C: 3 D: 4

  • 2022-05-29 问题

    设有泛型类的定义如下class Test<T> { }则由该类创建对象时,使用正确的是? A: Test x = new Test();<table width="77" cellspacing="0" cellpadding="0"><colgroup><tbody><tr class="firstRow">数据添加到文件中; B: Test<int> x = new Test<int>(); C: Test<Object> x = new Test<Object>(); D: Test<T> x = new Test<T>();

    设有泛型类的定义如下class Test<T> { }则由该类创建对象时,使用正确的是? A: Test x = new Test();<table width="77" cellspacing="0" cellpadding="0"><colgroup><tbody><tr class="firstRow">数据添加到文件中; B: Test<int> x = new Test<int>(); C: Test<Object> x = new Test<Object>(); D: Test<T> x = new Test<T>();

  • 2021-04-14 问题

    (6-6)请阅读程序,写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10; } static { x=x+5; } { y=y+10; } static { x=x+5; } public Test() {//构造方法 x=x+5; } { System.out.println(x*y); } } public class Demo11 { public static void main(String[] args) { Test t1=new Test(); Test t2=new Test(); } }

    (6-6)请阅读程序,写出程序运行结果。 class Test{ static int x=10; int y=99; { y=y+10; } static { x=x+5; } { y=y+10; } static { x=x+5; } public Test() {//构造方法 x=x+5; } { System.out.println(x*y); } } public class Demo11 { public static void main(String[] args) { Test t1=new Test(); Test t2=new Test(); } }

  • 2022-06-07 问题

    以下是"public static void test(int x, int y)"的方法重载( ) A: public static void Test(int x) B: public static int test(int x, int y) C: public static void test(int y, int x) D: public static void test(int x, int y)

    以下是"public static void test(int x, int y)"的方法重载( ) A: public static void Test(int x) B: public static int test(int x, int y) C: public static void test(int y, int x) D: public static void test(int x, int y)

  • 1 2 3 4 5 6 7 8 9 10