当前位置:SCJP程序员认证考试题库

问题:

[多选]

import java.awt.*;  
public class X extends Frame {  
public static void main (String args) {  
X x = new X();  
x.pack();  
x.setVisible(true);  
} 
public X() {  
setLayout (new BordrLayout());  
Panel p = new Panel ();  
add(p, BorderLayout.NORTH);  
Button b = new Button (“North”);  
p.add(b):  
Button b = new Button (“South”);  
add(b1, BorderLayout.SOUTH):  
}  
}  
Which two statements are true?()

A .  The buttons labeled “North” and “South” will have the same width.
B .  The buttons labeled “North” and “South” will have the same height.
C .  The height of the button labeled “North” can very if the Frame is resized.
D .  The height of the button labeled “South” can very if the Frame is resized.
E .  The width of the button labeled “North” is constant even if the Frame is resized.
F .  The width of the button labeled “South” is constant even if the Frame is resized.

在处理软弱土地基时,重锺夯实法的影响深度与()、()、()及土质条件因素有关。 行政诉讼实行证明责任倒置的原则。 更换ESD系统HIMA模块时,必须() 开启模块。 停止电源。 停止ESD系统运行。 开启电源。 以下行为可能导致被百度降权的是() 网站中存在大量采集信息。 网站中内容涉及色情,暴力等信息。 网站中充斥大量低质量链接。 以上都可能。 压力管理包括()。 针对造成问题的外部压力源本身去处理。 顺其自然。 改变个体自身的弱点。 处理压力所造成的反应。

import java.awt.*;  
public class X extends Frame {  
public static void main (String args) {  
X x = new X();  
x.pack();  
x.setVisible(true);  
} 
public X() {  
setLayout (new BordrLayout());  
Panel p = new Panel ();  
add(p, BorderLayout.NORTH);  
Button b = new Button (“North”);  
p.add(b):  
Button b = new Button (“South”);  
add(b1, BorderLayout.SOUTH):  
}  
}  
Which two statements are true?()

参考答案:

  参考解析

本题暂无解析

在线 客服