Java认证模考试题(九)
Question: 44
Which of the following can be parts of the Java source file Calculation1.java?
A. public class Calculation1{//...}
B. import java.io.*;
C. package myPackage;
D. import java.awt.*;
E. static class Arg{//...}
F. class Calcu{//...}
G. public class Calculation2{//...}
Explanation:
Correct Answer: A,B,C,D,F 44 of 60
Which one of the following containers must be added to another container?
B. Frame
C. Dialog
D. Panel
Explanation:
Correct Answer: D 45 of 60
|||
Which of the following classes are layout managers in Java?
B. BorderLayout
C. PanelLayout
D. GridLayout
E. BagLayout
Explanation:
Correct Answer: A,B,D 46 of 60
A Button is positioned in a Frame. Only height of the Button is affected by the Frame while the width is not. Which layout manager should be used?
B. CardLayout
C. North and South of BorderLayout
D. East and West of BorderLayout
E. GridLayout
Explanation:
Correct Answer: D 47 of 60
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>