sun认证考试的java基础你能做对多少(2)

来源:互联网 发布:python 仪器控制 编辑:程序博客网 时间:2024/04/27 00:38
Which statement is true?
A. A flow layout can be used to position a component that should resize horizontally when the
container is resized.
B. A grid layout can be used to position a component tat should maintain a constant size even when
the container is resized.
C. A border layout can be used to position component that should maintain a constant size even when
the container is resized. 
D. The grid bag layout can be used to give a grid-like layout which differs from the normal grid in" k
that individual rows and columns can have unique sizes.
E. If two components are placed in the same column of a grid bag layout, and one component resizes
horizontally, then the other component must resize horizontally.


Given an ActionEvent, which method allows you to identify the affected Component?
A. Public class getClass()
B. Public Object getSource()
C. Public Component getSource()
D. Public Component getTarget()
E. Public Component getComponent()

F. Public Component getTargetComponent()


原载于:联动北方
全文:http://bbs.landingbj.com/t-0-248696-1.html


0 0
原创粉丝点击