a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 52|回复: 0

[考试试题] 2011年JAVA认证模拟题第二阶段(13)

[复制链接]
发表于 2012-8-4 12:33:16 | 显示全部楼层 |阅读模式
  Q37.If you would like to change the size of a Component, you can use the following method
9 @- |! m9 g3 P! \$ i  a. size()0 n" J9 q4 g7 M: k6 [; t
  b. resize()
. n4 q8 N+ m/ \  c. setSize()
; f7 g& K5 j( {) ]1 B, m  z# H8 R  d. dimension()+ T4 R8 z7 Z: U- I5 R
  Q38.Which LayoutManager arranges components left to right and then top to bottom, centering each row as it moves to the next row?
9 \! m# r& ?9 z: c4 x  a( M  a. BorderLayout) J: K8 l: t6 Z; C0 g  D6 Z+ d) I
  b. FlowLayout: q0 x% s, |  Y6 p" R. `
  c. GridLayout
2 j! N" ]0 N" A5 g0 p  d. CardLayout
2 Y# ~2 x% ~; A+ Y6 q  u% ?+ z- Z  Q39.Which label names(s) are illegal? Select all valid answers.
# Y. r7 q+ m, h5 Y/ S" G9 `4 n  a. here# m4 S, X( b8 Q/ [
  b. _there6 F, I, B1 w# Y  p" k8 S, C
  c. this- {$ T8 |* k+ k& j6 V9 P- w( x
  d. 2to1odds2 x& {. I; [3 D) V
  37. c0 A) l) A$ [! @
  38. b
" C+ s/ {& x8 B  39. cd
回复

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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