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 do

题目

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.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。

A.byte, short, char→int→long→float→double

B.float→int→long→byte, short, char→double

C.int→long→float→double→byte, short, char

D.double→int→float→long→byte, short, char


正确答案:A

第2题:

自动类型转换规定的优先次序是( )。

A.short,byte,char→long→int→float→double

B.short,byte,char→int→long―float→double

C.byte,short,char→long→int→float→double

D.byte,short,char→int→long→float→double


正确答案:D

第3题:

______ measure the company' s ability to meet short-term obligations through the cash conversion cycle.

A.Activity ratio

B.Liquidity ratio

C.Leverage ratio

D.Profitability ratio


正确答案:B
解析:liquidity ratio流动性比率。activity ratio资产周转率。leverage ratio杠杆比率。profitability ratio盈利能力比率。

第4题:

IPv6 is currently in growing deployment around the world,() Internet address registries (RIRs) began to urge all resource managers to plan rapid adoption and conversion.

A.from B.since C.for D.over


正确答案: B

第5题:

自动类型转换是按优先关系从低级数据转换成高级数据,规定的优先次序是( )。

A.byte,short,char→int→long→float→double

B.float→int→long→byte,short,char→double

C.int→long→float→double←byte,short,char

D.double→int→folat→long→byte,short,char


正确答案:A

第6题:

A conversion operator which converts the current String instance into raw C-style. string of

type const char*.


正确答案:
 

第7题:

A customer would like to convert their existing IBM System Storage DS8100 to a DS8700 to gain more capacity. During the TDA review the impact on the running production environment during conversion is discussed. Which of the following must be considered?()

A. DS8000 model conversions are generally non-disruptive

B. a model conversion from DS8100 to DS8700 is disruptive

C. the DS8100 base frame needs to be sent back to the factory for upgrade

D. during model conversion the logical configuration can be kept, but the system must be rebooted


参考答案:B

第8题:

Java语言中数值数据的类型能自动转换,按照从左到右的转换次序为()。

A.byte→int→short→long→float→double

B.byte→short→int→long→float→double

C.byte→short→int→float→long→double

D.short→byte→int→long→float→double


正确答案:B

第9题:

以下代码中变量result的可能类型有哪些?byte b = 11;short s = 13;result = b * ++s;

A.byte, short, int, long, float, double

B.boolean, byte, short, char, int, long, float, double

C.byte, short, char, int, long, float, double

D.byte, short, char

E.int, long, float, double


正确答案:E
 

第10题:

Which two statements are true about analog to digital conversion of voice signals for use in digital telephony networks?()

  • A、The three required steps in the analog to digital conversion are sampling,encoding,and compression.
  • B、The three required steps in the analog to digital conversion are sampling,quantization,and compression.
  • C、The three required steps in the analog to digital conversion are sampling,quantization,and encoding.
  • D、The output of the sampling process is a pulse code modulation (PCM) signal.
  • E、The output of the sampling process is a pulse amplitude modulation (PAM) signal.

正确答案:C,E

更多相关问题