题目内容

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 GridLayout (2,2)); Panel p1 = new panel(); Add(p1); Button b1= new Button (“One”); P1.add(b1); Panel p2 = new panel(); Add(p2); Button b2= new Button (“Two”); P2.add(b2); Button b3= new Button (“Three”); add(b3); Button b4= new Button (“Four”); add(b4); ) ) Which two statements are true? ()

All the buttons change height if the frame height is resized.
B. All the buttons change width if the Frame width is resized.
C. The size of the button labeled “One” is constant even if the Frame is resized.
D. Both width and height of the button labeled “Three” might change if the Frame is resized.

查看答案
更多问题

国产数控测井仪常用的EF6600雅马哈发电机外形尺寸的长、宽、高分别为670mm、510mm、510mm。()

A. 正确
B. 错误

我不知道其他考官对你如何看,我对你的感觉是你的回答虽然不错,但是显得过分成熟和世故,你自己怎么看?

主合同中没有保证条款,保证人在主合同上以保证人的身份签字或盖章的,保证合同不成立。

A. 正确
B. 错误

防突组长负责协调、平衡组内工作,负责每天各防突工作面防突措施实施或检查的工作安排。

A. 正确
B. 错误

答案查题题库