a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 57|回复: 0

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

[复制链接]
发表于 2012-8-4 12:33:16 | 显示全部楼层 |阅读模式
 Q31. Which of the following are Java keywords?   A interface
3 b9 @9 T  f. V1 J5 a3 y4 z- ]  B sizeof. y8 m/ V7 H! x( M
  C super1 G9 j' V8 @, e; }! h
  D volatile
. H; J! ~9 ~. r  Q32 Which method returns the preferred size of a component?
; C, {* \. H5 |: j  A getPreferredSize()
# x- E* D! p, a) R" }6 l  e  B getPreferred()3 L' g+ M. f4 E/ H+ g- R. ]
  C getReQuiredSize()" P, Z1 e% ]9 p, U1 W3 s
  D getLayout()
$ Q6 W. J( `) A# o5 j# a  Q33 How can a class that is run as a thread be defined?. l6 w5 ~/ _" M
  A By subclassing the Thread class.7 f- p" ?; r1 p+ y, c- P
  B By implementing the Throwable interface.# t) V# G2 h7 L- R
  C By implementing the Multithread interface.
6 c% {) ~+ B: |4 @3 R  D By implementing the Runnable interface.' ^, }! C/ _# Y/ c- J# a
  Q031 ACD
5 g) i  Q" C- y! }& T  Q032 A
7 ~; k% ~' h+ z  Q033 AD
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-19 04:49 , Processed in 0.589433 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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