网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面均为Java关键字的一组是()
A、boolean,byte,long,true
B、byte, long,true,goto
C、goto ,Boolean,byte,true
D、bool, long,true,auto
参考答案
更多 “ 下面均为Java关键字的一组是()A、boolean,byte,long,trueB、byte, long,true,gotoC、goto ,Boolean,byte,trueD、bool, long,true,auto ” 相关考题
考题
不同类型的数据占用存储空间的长度是不同的。下列选项中,符合占用存储空间从小到大顺序排列的是()
A.Byte,Integer,Long,DecimalB.Byte,Integer,Double,BooleanC.Boolean,Byte,Integer,DoubleD.Byte,Decimal,Integer,Long
考题
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
考题
自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。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
考题
5. If you attempt to add an int, a byte, a long, and a double, the result will be a __________ value. A. longB. byteC. doubleD. int
考题
自动类型转换规定的优先次序是( )。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
考题
以下程序的输出结果是includemain(){ union un{ int i;long k;char c;};struct byte{i
以下程序的输出结果是 #include<stdio.h> main() { union un{ int i; long k; char c;}; struct byte{ int a; long b; union un c;}r; printf("%d\n",sizeof(r));}A.10B.13C.7D.8
考题
以下代码中变量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
考题
在C#中下列表达式不正确的是()。A、double a,double b=2,int c=3,a=b+cB、short a,byte b=2,byte c=3,a=b+cC、string a,string b=”1” string c=”2” a=b+cD、bool a,bool b=true,bool c=false a=b==c
考题
下面均为java关键字的一组是()A、boolean ,byte,long,assertB、byte,long,true,gotoC、goto,boolean,byte,nullD、boolean,long,false,auto
考题
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、int,byte,charB、int,short,long,byte,charC、int,short,long,charD、int,short,long,byte
考题
将有三个boolean值的数组初始化为true的是()A、boolean[]b=newboolean[3]B、"boolean[]b={true,true,true}"C、"boolean[3]b={true,true,true}"D、"boolean[]b=newboolean[3];b={true,true,true}"
考题
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.
考题
单选题在C#中下列表达式不正确的是()。A
double a,double b=2,int c=3,a=b+cB
short a,byte b=2,byte c=3,a=b+cC
string a,string b=”1” string c=”2” a=b+cD
bool a,bool b=true,bool c=false a=b==c
考题
多选题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
考题
单选题都是VB.NET中的数据类型的选项是()A
Short、Integer、Long、Float、DoubleB
Short、Int、Long、Single、DoubleC
Integer、Long、Single、Double、DecimalD
Boolen、Byte、Bit、Decimal、Date
考题
单选题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.
热门标签
最新试卷