【判断题】【消耗次数:1】
short shortValue=220;byte byteValue=shortValue;
正确
错误
参考答案:
复制
纠错
相关题目
【单选题】 有以下方法的定义,请选择该方法的返回类型( )。 ReturnType method(byte x, double y) { return (short)x/y*2; }
①  byte
②  short
③  int
④  double
【判断题】 指令JMP BYTE PTR[BX]是否正确?
①  正确
②  错误
【判断题】 指令MOV BYTE PTR [BX],1000是否正确?
①  正确
②  错误
【单选题】 给出下面程序代码: byte[] a1, a2[]; 32 byte a3[][]; byte[][] a4; 下列数组操作语句中哪一个是不正确的?( )
①  a2 = a1
②  a2 = a3
③  a2 = a4
④  a3 = a4
【判断题】 已知byte i = (byte)127; i = i +1;这两个语句能被成功编译。
①  正确
②  错误
【单选题】 She seems to be too short for a____.
①  twenty-year old girl
②  girl twenty-year-old
③  twenty-years-old girl
④  girl of twenty
【单选题】 Short-term memorylasts less than _________.
①  seconds
②  weeks
③  months
④  years
【单选题】 Character流与Byte流的区别是( )
①  每次读入的字节数不同
②  前者带有缓冲,后者没有
③  前者是字符读写,后者是字节读写
④  二者没有区别,可以互换使用
【单选题】 After dinner the minister made a short ___ to the guests.
①  delivery
②  pronunciation
③  conversation
④  speech
【单选题】 Our civilization cannot be thought of as ____ in a short period of time.
①  to have been created
②  to be created
③  having been created
④  being created
随机题目
【单选题】 表达式123%7的计算结果是 ( )
①  2
②  3
③  4
④  5
【单选题】 for 循环如何开始?( )
①  for (i <= 5; i++)
②  for (i = 0; i <= 5; i++)
③  for (i = 0; i <= 5)
④  for i = 1 to 5
【单选题】 定义 JavaScript 数组的正确方法是?( )
①  var txt = new Array=George,John,Thomas
②  var txt = new Array(1:George,2:John,3:Thomas)
③  var txt = new Array(George,John,Thomas)
④  var txt = new Array:1=(George)2=(John)3=(Thomas)
【单选题】 利用下标来访问数组时,最小下标是从( )开始的。
①  0
②  1
③  -1
④  2
【单选题】 在下列的 HTML 中,哪个可以产生超链接( )
①  a url=http://www.w3school.com.cn W3School.com.cn/a
②  a href=http://www.w3school.com.cn W3School/a
③  a http://www.w3school.com.cn/a
④  a name=http://www.w3school.com.cn W3School.com.cn/a
【单选题】 指定滚动文字的滚动延时正确的标记是( )。
①  marquee scrollamount =200 …/marquee
②  marquee loop=200 …/marquee
③  marquee auto=200 …/marquee
④  marquee scrolldelay=200 …/marquee
【单选题】 世界上第一个网页是( )。
①  http://www.w3c.org
②  http://info.cern.ch
③  http://www.microsoft.com
④  http://www.baidu.com
【单选题】 在HTML中,h3 /h3 是( )标记。
①  标题字
②  预格式化
③  换行
④  随意显示信息
【判断题】 以下属性中不是meta元信息标记的属性是color( )。
①  正确
②  错误
【判断题】 在下列的 HTML 中,可以产生文本区域是textarea( )
①  正确
②  错误