网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

下面均为java关键字的一组是()

  • A、boolean ,byte,long,assert
  • B、byte,long,true,goto
  • C、goto,boolean,byte,null
  • D、boolean,long,false,auto

参考答案

更多 “下面均为java关键字的一组是()A、boolean ,byte,long,assertB、byte,long,true,gotoC、goto,boolean,byte,nullD、boolean,long,false,auto” 相关考题
考题 不同类型的数据占用存储空间的长度是不同的。下列选项中,符合占用存储空间从小到大顺序排列的是() A.Byte,Integer,Long,DecimalB.Byte,Integer,Double,BooleanC.Boolean,Byte,Integer,DoubleD.Byte,Decimal,Integer,Long

考题 下面哪条语句在编译时不会出现错误或警告( )。A.floatf=1.3;B.byte b=257;C.boolean b=null;D.int i=10;

考题 指出错误的表达式()A、byte=128;B、Boolean=null;C、lonGl=0xfffL;D、double=0.9239d;

考题 Java语言中数值数据的类型能自动转换,按照从左到右的转换次序为()。A.byte→int→short→long→float→doubleB.byte→short→int→long→float→doubleC.byte→short→int→float→long→doubleD.short→byte→int→long→float→double

考题 执行下列代码段之后,变量b的值为______。 public class ex40 { public static void main(String[] args) { byte x=5; byte y=5; byte c=10; boolean b; b-c<x<<y; System.out.println (b); } }A.1B.0C.falseD.true

考题 boolean a=false;boolean b=true;boolean c=(ab)(!b);boolean result=(ab)(!b); boolean result=(ab)(!b); 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

考题 自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。A.byte, short, char→int→long→float→doubleB.float→int→long→byte, short, char→doubleC.int→long→float→double→byte, short, charD.double→int→float→long→byte, short, char

考题 下面程序段: boolean a=false; boolean b=true; boolean c=(a||b)(b); boolean result=(a|b)(b); 执行完后,正确的结果是A.c=false;result=falseB.c=true,result=trueC.c=true;result=falseD.c=false;result=true

考题 下面程序段: boolean a=false; boolean b=true; boolean c=(aB) (!B) ; boolean result=(aB) (!B) ; 执行完后,正确的结果是( )。A.c=false;result=falseB.c=true,result=trueC.c=tree;result=falseD.c=false;result=trae

考题 自动类型转换规定的优先次序是( )。A.short,byte,char→long→int→float→doubleB.short,byte,char→int→long―float→doubleC.byte,short,char→long→int→float→doubleD.byte,short,char→int→long→float→double

考题 下面均为Java关键字的一组是()A、boolean,byte,long,trueB、byte, long,true,gotoC、goto ,Boolean,byte,trueD、bool, long,true,auto

考题 以下代码中变量result的可能类型有哪些?byte b = 11;short s = 13;result = b * ++s; A.byte, short, int, long, float, doubleB.boolean, byte, short, char, int, long, float, doubleC.byte, short, char, int, long, float, doubleD.byte, short, charE.int, long, float, double

考题 都是VB.NET中的数据类型的选项是()AShort、Integer、Long、Float、DoubleBShort、Int、Long、Single、DoubleCInteger、Long、Single、Double、DecimalDBoolen、Byte、Bit、Decimal、Date

考题 Which statements concerning casting and conversion are true?()  A、Conversion from int to long does not need a cast.B、Conversion from byte to short does not need a cast.C、Conversion from float to long does not need a cast.D、Conversion from short to char does not need a cast.E、Conversion from boolean to int using a cast is not possible.

考题 下面的那个是Java的关键字()A、sizeofB、abstractC、NULLD、Boolean

考题 指出正确的表达式()A、 byte=128;B、 Boolean=null;C、 long l=0xfffL;D、 double=0.9239d;

考题 下面代码行中编译的时候不会报警告或错误的是()。A、float f=1.3;B、char c="a";C、byte b=257;D、boolean b=false;

考题 Java中整型包括()。A、int,byte,charB、int,short,long,byte,charC、int,short,long,charD、int,short,long,byte

考题 StringBuffer append(数值类型 t),参数t可以是boolean、int、char、float、double、long

考题 在Java中,字节数据类型的关键字和默认值是()A、byte和0B、byte和1C、boolean和trueD、boolean和false

考题 指出正确的表达式()A、byte=128;B、Boolean=null;C、longl=0xfffL;D、double=0.9239d;

考题 Which of the following is true about the MPLS header and its EXP field size?()A、The MPLS header is 2 bytes,and the EXP field is 3 bits long.B、The MPLS header is 1 byte,and the EXP field is 3 bits long.C、The MPLS header is 4 bytes,and the EXP field is 3 bits long.D、The MPLS header is 3 bytes,and the EXP field is 3 bits long.

考题 Which of the following statements about declaration are true?()         A、 Declaration of primitive types such as boolean, byte and so on does not allocate memory space for the variable.B、 Declaration of primitive types such as boolean, byte and so on allocates memory space for the variable.C、 Declaration of nonprimitive types such as String, Vector and so on does not allocate memory space for the object.D、 Declaration of nonprimitive types such as String, Vector ans so on allocates memory space for the object.

考题 public class Key {  private long id1;  private long 1d2;  // class Key methods  }  A programmer is developing a class Key, that will be used as a key in a standard java.util.HashMap. Which two methods should be overridden to assure that Key works correctly as a key?()A、 public int hashCode()B、 public boolean equals(Key k)C、 public int compareTo(Object o)D、 public boolean equals(Object o)E、 public boolean compareTo(Key k)

考题 多选题Which statements concerning casting and conversion are true?()AConversion from int to long does not need a cast.BConversion from byte to short does not need a cast.CConversion from float to long does not need a cast.DConversion from short to char does not need a cast.EConversion from boolean to int using a cast is not possible.

考题 单选题下面均为java关键字的一组是()A boolean ,byte,long,assertB byte,long,true,gotoC goto,boolean,byte,nullD boolean,long,false,auto

考题 单选题指出正确的表达式()A  byte=128;B  Boolean=null;C  long l=0xfffL;D  double=0.9239d;