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

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

在Java语言中,已知a为int型,b为double型,c为float型,d为char型,则表达式a+bc-d/a的结果类型为()。

  • A、int
  • B、double
  • C、float
  • D、char

参考答案

更多 “在Java语言中,已知a为int型,b为double型,c为float型,d为char型,则表达式a+bc-d/a的结果类型为()。A、intB、doubleC、floatD、char” 相关考题
考题 若有以下定义:char a;int b;float c; double d;则表达式a*b+d-c值的类型为【12】 。

考题 设变量a是int型,f是float型,i是double型,则表达式10+′a′+i*f值的数据类型为A.intB.floatC.doubleD.不确定

考题 若有以下类型说明语句: char w;int x;float y, z; 则表达式w*x+z-y的结果为______类型。A.floatB.charC.intD.double

考题 已知char a;int b;float c;double d;则表达式a*b+c-d结果为A.doubleB.intC.floatD.char

考题 若有以下类型说明语句char a; int b; float c; double d; 则表达式a*bd-c的结果类型为( )。 A.FloatB.charC.intD.double

考题 设变量a是int型,f是float型,i是double型,则表达式10+'a'+i*f的值的数据类型为( )。A.intB.floatC.doubleD.不确定

考题 若有以下定义:char a;int b;float c;double d;则表达式“a*b+d-c”值的类型为( )。A.floatB.intC.charD.double

考题 若有以下定义char a;int b;float c;double d;则表达式a*b+d-c值的类型为

考题 现有定义int a;double b;float c;char k;,则表达式a/b+c-k值的类型为A.intB.doubleC.floatD.char

考题 设变量a是int型,f是int型,i是double型,则表达式10+a+i*f值的数据类型为A.int B.float C.double D.不确定

考题 若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatSX 若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatB.intC.charD.double

考题 已知chara;intb;floatC;doubled;则表达式a*b+c-d的结果为( )。A.doubleB.intC.floatD.char

考题 已知char a iht b;float c;double d;则表达式a*b+c-d结果为( )。A.doubleB.intC.floatD.char

考题 设变量a是int型,f是float型,i是double型,则表达式10+′a′+i*f值的数据类型为A.int B.float C.double D.不确定

考题 下列对于二元算术运算表达式的说法中,正确的一个是______。A.若两个操作数都是float型,则表达式结果为float型B.若两个操作数都是float型,则表达式结果为double型C.若一个操作数是float型,另一个操作数是double型,则表达式结果为float型D.若一个操作数是float型,另一个操作数是血型,则表达式结果为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

考题 设有以下变量定义,并已赋确定的值: char w; int x; float y; double z; 则表达式:w*x+z-y所求得的数据类型为( )。A.charB.intC.floatD.double

考题 若有以下定义:char a;int b;float c;double d;则表达式a*b+d-c值的类型为( )。A.A. float SXB 若有以下定义:char a;int b;float c;double d;则表达式a*b+d-c值的类型为( )。A.A. floatB.intC.charD.double

考题 关于类型转换的说法中,错误的是( )。A.如果a为血型变量,b为char型变量,则a+b的值为血型B.如果a为float型变量,b为int型变量,则a-b的值为float型C.如果a为double型变量,b为float型变量,则a*b的值为double型D.如果a为血型变量,b为血型变量,则a/(double)b的值为int型

考题 已知char a;int b;float C;double d;则表达式a-b c-d结果为( )型。A)doubleB)floatC)intD)char

考题 switch(表达式)语句中的“表达式”,允许的类型是()。A、float,intB、float,int,charC、int,charD、char,double

考题 在java中下列关于自动类型转换说法正确的是()A、基本数据类型和String相加结果一定是字符串型B、char类型和int类型相加结果一定是字符型C、double类型可以自动转换为intD、char+int+double+""结果一定是double

考题 设x为float型变量,y为double型变量,a为int型变量,b为long型变量, c为char型变量,则表达式x+y*a/x+b/y+c的值为()类型。A、intB、longC、doubleD、char

考题 在C语言中,5种基本数据类型的存储空间长度的排列顺序为:char<int<long int<=float<double

考题 在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

考题 单选题设x为float型变量,y为double型变量,a为int型变量,b为long型变量,c为char型变量,则表达式x+y*a/x+b/y+c的值为()类型。A intB longC doubleD char

考题 单选题在Java语言中,已知a为int型,b为double型,c为float型,d为char型,则表达式a+bc-d/a的结果类型为()。A intB doubleC floatD char