- 讲师:刘萍萍 / 谢楠
- 课时:160h
- 价格 4580 元
特色双名师解密新课程高频考点,送国家电网教材讲义,助力一次通关
配套通关班送国网在线题库一套
Question: 48
A Button is positioned in a Frame. Its size is not affected when the Frame is resized. Which layout manager should be used?
A. FlowLayout
B. CardLayout
C. North and South of BorderLayout
D. East and West of BorderLayout
E. GridLayout
Explanation:
Correct Answer: A 48 of 60
Question: 49
A. getFrame()
B. getID()
C. getSource()
D. getWindow()
Explanation:
Correct Answer: C,D 49 of 60
Question: 50
A. Multiple listeners can be attached to one component.
B. Only one listener can be attached to one component.
C. One listener can receive and process the events from multiple components.
D. One listener can receive and process the events from only one component.
Explanation:
Correct Answer: A,C 50 of 60
|||
What is the return value of the method in the event listener interface?
B. String
C. void
D. Object
E. AWTEvent
Explanation:
Correct Answer: C 51 of 60
Question: 52
Which of the following event listeners have event adapters defined in Java?
B. KeyListener
C. ActionListener
D. ItemListener
E. WindowListener
Explanation:
Correct Answer: A,B,E 52 of 60
|||
Which one of the following methods is not related to the display of the applets?
B. draw()
C. repaint()
D. paint()
Explanation:
Correct Answer: B 53 of 60
Given the following definition:
TextArea ta = new TextArea (Hello, 5, 5);
Which statements are true?
B. The displayed height is 5 lines otherwise constrain.
C. The displayed string can use multiple fonts.
D. The displayed strings are editable.
Explanation:
Correct Answer: B,D 54 of 60
Which method can be used to add MenuBar to a Frame?
B. setMenuBar()
C. add()
D. addMenuBar()
Explanation:
Correct Answer: B 55 of 60
责编:罗莉
上一篇:Java认证模考试题(八)
下一篇:Java认证模考试题(九)
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
课程专业名称 |
讲师 |
课时 |
查看课程 |
---|
点击加载更多评论>>