下载此文档

上海神机软件有限公司.docx


文档分类:通信/电子 | 页数:约13页 举报非法文档有奖
1/13
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/13 下载此文档
文档列表 文档介绍
选择题
1:Which of the following answer is correct to expressthe value 8 in octal number?
r|

「I

广I

C

2:Which statement about listener is true?
广|
component allow multiple listeners to be added.
\r\
multiple listener be add to a single component, the event only affected one listener.
广1
don?t allow multiple listeners to be add.
广I

Give the following java class: public class Example{ static int x[]=new int[15];
public static void main(String args[]){ ntln( x[5]);
}
}
Which statement is corrected?
Give the following java class: public class Example{ static int x[]=new int[15];
public static void main(String args[]){ ntln( x[5]);
}
}
Which statement is corrected?
广|
compile, some error will occur.
\r\
run, some error will occur.
广1
is zero.
广I
is null.
4:
Give the following java source fragement:
〃point x
public class Interesting{
//do something
}
Which statement is correctly Javasyntax at point x?
Give the following java source fragement:
//point x
public class Interesting{
//do something
}
Which stateme nt is correctly Javas yn tax at po int x?
广|
r|
C
5:
public class MyClass{//do other thing …}
static int Pl=
class MyClass{//do something …}
none
What will be the result of executing the following code?
boolean a= true;
boolean b = false;
boolean c= true;
if (a == true)
if (b == true)
if (c == true) ("Some things are true in this world");
else ("Nothing is true in this world!");
else if (a && (b = c)) ("It's too confusing to tell what is true and what is false");
else ("Hey this won't compile");
Choices:
What will be the result of executing the following code?
boolean a= true;
boolean b = false;
boolean c= true;
if (a == true)
if (b == true)
if (c == true) ("Some things are true in th

上海神机软件有限公司 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数13
  • 收藏数0 收藏
  • 顶次数0
  • 上传人likuilian1
  • 文件大小19 KB
  • 时间2020-12-26