a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 55|回复: 0

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

[复制链接]
发表于 2012-8-4 12:33:16 | 显示全部楼层 |阅读模式
 Q7 Which of the following modifiers may not be used with a top-level class?   A public
4 T* O( _5 ~3 j4 Q9 D& t( I: [  B private' X7 ?9 M3 N; K
  C abstract0 J% U; Q. K, ^7 T1 V3 B% u
  D final# s$ |" q, B7 }( b! U) T2 O
  Q8 Which of the following are true?
3 [: E' X0 r0 D' f6 V! K$ x/ E7 E  A The sleep() method puts a thread in the ready state.
6 A. U  W( k3 S' H9 L8 K! o$ k  B The sleep() method puts a thread in the waiting state.$ M, w* e% |; \# B: |% t( \
  C The suspend()method is the preferred method for stopping a thread’s execution.
5 s- l1 S, g" v% E; N+ Q  D A thread’s interrupt() method results in the throwing of the InterruptedException.6 U* g3 d: n; }5 R
  Q9 Suppose a Panel is added to a Frame and a Button is added to the Panel. If the Frame’s font is set to 12-point TimesRoman, the Panel’s font is set to 10-point TimesRoman, and the Button’s font is not set, what font will be used to display the Button’s label?
2 c1 k7 I1 S2 e  A 12-point TimesRoman
5 I  X5 T( S6 _  w2 F/ j  B 11-point TimesRoman& F+ c9 t2 E7 B- P! i2 J" F. Z8 @
  C 10-point TimesRoman
% N& Q: X5 p" M, Z3 n2 I  D 9-point TimesRoman3 n) ?4 ?* V2 P* l, L/ h! j! M
  Q007 B$ E2 ~, c  F  ?8 O% t( `
  Q008 D) l/ @1 i( G2 }) t7 v
  Q009 C
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-26 09:34 , Processed in 0.623489 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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