搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【单选题】

变量x、f、d分别为int,float,double类型的,除了f和d不能等于无穷大和NAN以外值可以任意选取,下面表达式为真的是()

A、x==(int)(double)x

B、x==(int)(float)x

C、d==(double)(float)d

D、(f+d)-f==d

更多“变量x、f、d分别为int,float,double类型的,除了f和d不能等于无穷大和NAN以外值可以任意选取,下面表达式为真的是()”相关的问题
第1题

A、x==(int)(float)x  B、d==(double)(float)d  C、f==(float)(double)f  D、(f+d)-f==d  

点击查看答案
第4题

A、 Void setVar(float f) {x = f;}  B、 Public void setVar(intf) {x = f;}  C、 Public void setVar(float f) {x = f;}  D、 Public double setVar(float f) {x = f;}  E、 Public final void setVar(float f) {x = f;}  F、 Protectedfloat setVar() {x=3.0f; return 3.0f; }  

点击查看答案
第5题

A、 Void setVar(float f) {x = f;}  B、 Public void setVar(intf) {x = f;}  C、 Public void setVar(float f) {x = f;}  D、 Public double setVar(float f) {x = f;}  E、 Public final void setVar(float f) {x = f;}  F、 Protectedfloat setVar() {x=3.0f; return 3.0f; }  

点击查看答案
第8题

A、intfun(int a, float b) { } float fun(int a, float b) { }  B、float fun(int a, float b) { } float fun(intx, float y) { }  C、float fun(float a) { }  float fun(float a, float b) { }  Dfloat fun1(int a, float b) { } float fun2(int a, float b) { }  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服