a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 270|回复: 0

[考试试题] 2011年JAVA认证模拟题(26)

[复制链接]
发表于 2012-8-4 12:33:16 | 显示全部楼层 |阅读模式
 Q76 Which of the following are true?   A A TextField object may generate an ActionEvent9 z) J* Y0 t+ P/ u6 D. w6 |
  B A TextArea object may generate an ActionEvent.2 `+ I. f. o& f& [
  C A Button object may generate an ActionEvent.6 l4 y- Q0 f* \: j, ^* c8 B
  D A MenuItem object may generate an ActionEvent.
5 d4 G$ f* U$ t  Q77 Which of the following are true?7 _5 `2 y, a# @  F4 w  _% L
  A Multithreading is uniQue to Java.
4 Q# `* H5 @; p  B Multithreading reQuires more than one CPU.
) |1 j; Y0 h; F7 A2 V1 G1 l  C Multithreading reQuires that a computer have a single CPU.
4 q& x3 Q2 @3 w8 B* b. D/ y+ c  D Multithreading is supported by Java.
) E" [: m$ d7 o8 r! @5 k  Q78 Given an object t that implements Runnable, which method of the Thread class should you invoke to cause t to be executed as a separate thread?
5 F2 x$ ^" L8 {0 s9 F  A start()- \0 H1 X0 X4 d+ v
  B init(): |) _# T' D. p/ ~& i' r; ^' V
  C run()( s  l- \0 O, f+ I- F
  D main()  F! p6 |* s. n3 |* S
  Q076 ACD3 I5 p7 e" `6 k
  Q077 D
- J* e0 \7 C; y: }% t  Q078 A
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-18 00:44 , Processed in 0.194990 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表