网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
基本数据类型精度从低到高排列正确的是()
A.byte short int float double
B.byte short int double float
C. short byte int float double
D. short byte int double float
参考答案
更多 “ 基本数据类型精度从低到高排列正确的是()A.byte short int float doubleB.byte short int double floatC. short byte int float doubleD. short byte int double float ” 相关考题
考题
( 18 )下列各组类型声明符中,含义相同的一组是A ) unsigned long int 和 longB ) signed short int 和 shortC ) unsigned short 和 shortD ) short int 和 int
考题
下列选项中的 方法可以正确地加入类Child中,且父类的方法不会被覆盖。 public class Parent{ public int addValue(int a,int b){ int s; s=a+b; return s; } } class Child extends Parent{ }A.int addValue(int a,int b){∥do something…}B.public void addValue( ){∥do something…}C.public int addValue(int a,int b)throws MyException{∥do something…}D.public float addValue(int a,int b,float b=1.0){∥do something…}
考题
下列各组类型声明符中,含义相同的一组是A.unsigned long int和longB.signed short int和shortC.unsigned short和shortD.short int和int
考题
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
考题
C语言中各种基本数据类型的存储空间长度排列为( )A.char≤long≤int≤float≤doubleB.double≤float≤long≤int≤charC.char≤int≤long≤float≤doubleD.float≤int≤long≤char≤double
考题
自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。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
考题
Java语言中数据类型之间的自动类型转换是由优先关系从低级数据类型转换成高级数据类型,下面选项中自动类型转换优先级由低到高排列正确的是A.char→long→int→double→floatB.char→int→long→double→floatC.char→int→long→float→doubleD.char→int→float→double→long
考题
自动类型转换规定的优先次序是( )。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
考题
下列重载函数中,正确的是( )。A.void fun(int a,float b);void fun(int C,float d)B.void fun(int a,float b);void fun(float a,int b)C.float fun(int a,float b);int fun(int b,float a)D.int fun(int a,int b);float fun(int a,int b)
考题
自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。A.byte,short,char→int→long→float→doubleB.float→int→long→byte,short,char→doubleC.int→long→float→double←byte,short,charD.double→int→folat→long→byte,short,char
考题
以下代码中变量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中的数据类型的选项是()A、Short、Integer、Long、Float、DoubleB、Short、Int、Long、Single、DoubleC、Integer、Long、Single、Double、DecimalD、Boolen、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、int,byte,charB、int,short,long,byte,charC、int,short,long,charD、int,short,long,byte
考题
下面的方法重载,正确的是()。A、int fun(int a, float b) { } float fun(int a, float b) { }B、float fun(int a, float b) { } float fun(int x, float y) { }C、float fun(float a) { } float fun(float a, float b) { }D、float fun1(int a, float b) { } float fun2(int a, float b) { }
考题
在C语言中(以16为PC机为例),5种基本数据类型的存储空间长度的排列顺序为()。A、char int long int = float doubleB、char = int long int = float doubleC、char int long int = float = doubleD、char = int = long int = float double
考题
关于数据类型转换下面描述错误的是()A、byte类型数据可以转换为short、int、long类型数据B、long类型数据有可能转换为byte、short、int类型数据C、在语句int i=(int)78.67;中,变量i的值为79D、当两个数据的类型不同一时,必须先进行数据类型的转换,再运算或赋值
考题
单选题下列重载函数中,正确的是( )。A
void fun(int a,float b);void fun(int C,float d)B
void fun(int a,float b);void fun(float a,int b)C
float fun(int a,float b);int fun(int b,float a)D
int fun(int a,int b);float fun(int a,int b)
考题
单选题下列各组类型声明符中,含义相同的一组是( )。A
unsigned long int和longB
signed short int和shortC
unsigned short和shortD
short int和int
考题
多选题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.
热门标签
最新试卷