a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 124|回复: 0

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

[复制链接]
发表于 2012-8-4 12:33:16 | 显示全部楼层 |阅读模式
java认证试题:2011年JAVA认证模拟题(32)
# P! q0 ?  N0 Z: C+ @    Q94 Which method is used to set the layout of a container?
& \" Z# J# l; ?, g  A startLayout()% J2 K7 p  u0 k5 z$ t
  B initLayout()
6 p/ y: Y5 y* S1 d8 ^& i2 A  C layoutContainer()
* Z! N  n% p; @1 b5 t' ~6 c  D setLayout()9 ~8 o# X+ v" b
  Q95 Which of the following are true about this variable declaration?
5 n8 B) d0 q) ]. _" i) y  private static int i = 3;) z0 `; Q" M1 D2 I
  A The value of i may not be changed after it is assigned a value.! Y6 w! }* J  _! n4 m4 U7 u
  B i may only be updated by a static method.
: Q4 _0 x, O" p# d0 {8 N2 O  C The value of i is shared among all instances of the class in which it is declared.# j6 j& n1 `& t3 w, e$ ^# M
  D i may only be accessed within the class in which it is declared.
" v6 P4 ~: N" ]3 f  Q96 Which of the following classes is used to perform basic console IO?  T" e. n3 @& j& v* A) Q
  A System
' S( p  F3 G: S  B SecurityManager
, l8 v: L9 f$ I8 ?$ A8 Q  C Math
& J+ D) g: X' }: \$ R  D Runtime
: }  x: `: H) D4 |  Q094 D. [; `: t" s3 ?
  Q095 CD. O( w8 w" ^& E- `% v
  Q096 A
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-17 23:53 , Processed in 0.226149 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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