• 2022-10-30 问题

    有如下定义:byte b; int n=6;以下赋值语句错误的是( )。 A: =(byte)3; B: =3; C: =(byte)n; D: =n;

    有如下定义:byte b; int n=6;以下赋值语句错误的是( )。 A: =(byte)3; B: =3; C: =(byte)n; D: =n;

  • 2021-04-14 问题

    int a = 5; int b = 6; byte b1=1; byte b2 = 2; 下列运算会报错的是?

    int a = 5; int b = 6; byte b1=1; byte b2 = 2; 下列运算会报错的是?

  • 2022-06-15 问题

    byte b; int n=6;以下赋值语句错误的是( )。 A: b=3; B: b=(byte)3; C: b=n; D: b=(byte)n;

    byte b; int n=6;以下赋值语句错误的是( )。 A: b=3; B: b=(byte)3; C: b=n; D: b=(byte)n;

  • 2022-10-30 问题

    byte b; int n=6;以下赋值语句错误的是( )。 A: b=3; B: b=(byte)3; C: b=n; D: b=(byte)n;

    byte b; int n=6;以下赋值语句错误的是( )。 A: b=3; B: b=(byte)3; C: b=n; D: b=(byte)n;

  • 2022-05-28 问题

    西门子PLC的定时字是哪个?() A: 2Byte B: 4Byte C: 6Byte D: 8Byte

    西门子PLC的定时字是哪个?() A: 2Byte B: 4Byte C: 6Byte D: 8Byte

  • 2022-05-26 问题

    如下哪些语句编译无错误? A: Byte b=new Byte(123); B: Byte b=new Byte(“123”); C: Byte b=new Byte(); D: Byte b=new Byte((int)123.4);

    如下哪些语句编译无错误? A: Byte b=new Byte(123); B: Byte b=new Byte(“123”); C: Byte b=new Byte(); D: Byte b=new Byte((int)123.4);

  • 2022-10-30 问题

    中国大学MOOC: byte b; int n=6;以下赋值语句错误的是( )。

    中国大学MOOC: byte b; int n=6;以下赋值语句错误的是( )。

  • 2022-06-07 问题

    以下程序段错误的有( ) A: byte a=1,b=1;byte c=a+b; B: byte a=1,b=1;byte c=(byte)(a+b); C: byte a=1,b=1;int c=a+b; D: byte a=1,b=1;byte c=(byte)a+(byte)b;

    以下程序段错误的有( ) A: byte a=1,b=1;byte c=a+b; B: byte a=1,b=1;byte c=(byte)(a+b); C: byte a=1,b=1;int c=a+b; D: byte a=1,b=1;byte c=(byte)a+(byte)b;

  • 2022-06-15 问题

    给定java代码,如下public byte count(byte b1,byte b2){ return______; } A: (byte) (b1-b2) B: (byte) b1-b2 C: b1-b2 D: (byte) b1/b2

    给定java代码,如下public byte count(byte b1,byte b2){ return______; } A: (byte) (b1-b2) B: (byte) b1-b2 C: b1-b2 D: (byte) b1/b2

  • 2022-07-27 问题

    以下变量赋值错误的是() A: byte=127; B: byte=128; C: byte=-127; D: byte=-128

    以下变量赋值错误的是() A: byte=127; B: byte=128; C: byte=-127; D: byte=-128

  • 1 2 3 4 5 6 7 8 9 10