按大堂经理服务礼仪标准的要求,以下符合女士着装规范的袜子颜色是()
A.黑色
B.深蓝色
C.深灰色
D.肤色
参考答案:D
2013年2月17日,习 * * * * 在会见非洲联盟委员会 * * 祖马时表示,中国支持非洲国家自主发展和联合自强,支持非洲国家积极探索符合自身国情的发展道路。这体现了 [ ]
A.我国是世界上最强大的国家
B.我国已跻身世界强国行列
C.我国是世界上最大的发展中国家
D.我国和平、合作、负责任的国际形象
请完成下列Java程序:创建一个具有2行3列的GridLayout管理器,包括Choice、Label、Button构件,布局为第1行包括一个Choice构件(包括2个选项item1和item2)、一个Label构件(当选择Choice构件中的选项时,Labe1构件显示相应的名称,即如果点击item1则Labe1中显示item1)和一个exit按钮(点击则退出应用程序),第2行包括3个Button构件。程序运行结果如下。
注意:请勿改动main()主方法和其他已有语句内容,仅在下划线处填入适当的语句。 源程序文件清单如下: import java.awt.*; import java.awt.event.*; public class ex11_2 extends Frame implements ActionListener, ItemListener { private Label 1; private String str="label"; private Choice choice11_2; public static void main(String[] arg) { new ex11_2(); } ex11_2 () { setLayout (______); choice11_2 = new Choice(); choice11_2.addItem("item1"); choice11_2.addItem("item2");choice11_2.______; add(choice11_2); l=new Label(str); add(l); Button exit11_2 = new Button("exit"); exit11_2.addActionListener(this); add(exit11_2); for(int i=0; i<3; i++) add(new Button("button" + i)); setSize(300,300); pack(); show(); } public void actionPerformed(ActionEvent event) { if (event.getActionCommand ( ). equals ( "exit" ) ) { System.exit(0); } } public void itemStateChanged(ItemEvent event { str=choice11_2.getSelectedItem(); l.setText(str); } }