By purchasing a particular item in the store
By buying any other item on the shelves
By attending a special sales promotion
By visiting the store during the fall
第1题:
Many linguists believe that these, along with other properties of presuppositions, are inherent in a particular morpheme, lexical item, or a structure.()
第2题:
The core item in the Oil Record Book Part I is ____, and its main content is____.
A.Item A, BALLAST OR CLEANING OF FUEL OIL TANKS
B.Item B, DISCHARGE OF DIRTY BALLAST OR CLEANING WATER FROM FUEL OIL TANKS REFERRED TO UNDER SECTION(A)
C.Item C, DISPOSAL OF OIL RESIDUES(SLUDGE)
D.Item H, BUNKERING OF FUEL OIL
第3题:
No other item in a newspaper provides such entertaining reading or offer such deep insight into hmnan nature.
_______________________________________________________________________________
第4题:
The attitudinal and emotional factors can be expressed in an item of vocabulary. These are often referred to as().
connotation or affective meaning
略
第5题:
The item of ______ shall not be considered as Special Markings.
A.Center of Balance
B.Hazardous Material Markings
C.Cargo address markings
D.Precautionary and Special Handling Instructions
第6题:
A.FIND_TIMER
B.GET_TIMER_PROPERTY
C.GET_APPLICATION_PROPERTY
D.GET_CUSTOM_ITEM_EVENT_PROPERTY
第7题:
请完成下列Java程序:实现2个下拉式菜单,一个包含exit菜单项,另一个包含item1和item2共2个菜单项。要求选择exit菜单项时,退出程序;选择item1菜单项之后,item1项变为不可选而item2可选;选择item2菜单项时,item2变为不可选而item1可选。
注意:请勿改动main()主方法和其他已有语句内容,仅在下划线处填入适当的语句。
程序运行结果如下:
import java.awt.*;
import java.awt.event.*;
public class ex18_2 extends Frame. implements ActionListener {
private choiceHandler ch;
private MenuItem item1;
private MenuItem item2;
public static void main(String[] arg) {
new ex18_2 ( );
}
ex18_2 ( ) {
setTitle("ex18_2");
MenuItem item;
ch = new choiceHandler();
MenuBar mb = new MenuBar();
Menu fm = new Menu("File");
fm.addSeparator();
fm.add(item = new MenuItem("Exit"));
item.addActionListener(this);
fm.add(item);
mb.add(fm);
Menu mm = new Menu("Choice");
mm.add(item1 = new MenuItem("item1"));
item1.addActionListener(ch);
mm.add(item2 = new MenuItem("item2"));
item2.addActionListener(ch);
mb.add(mm);
setMenuBar(mb);
setSize(200,200);
show();
}
public void actionPerformed(ActionEvent ae) {
if(ae.getActionCommand().equals("Exit"))
System.exit(0);
else
System.out.println(ae.getActionCommand());
}
class choiceHandler implements ActionListener {
public void actionPerformed(ActionEvent ae) {
String strCommand = ae.getActionCommand();
if(_________________) {
item2.setEnabled(true);
item1.setEnabled(false);
} else if(______________________) {
item2.setEnabled(false);
item1.setEnabled(true);
}
}
}
}
第8题:
表示窗体集合中的第一个窗体对象的是( )。
A.Forms.Item(0)
B.Item(0)
C.Forms.Item(1)
D.Item(1)
第9题:
第10题:
print({x:’item’+str(x**2)forxin(2,4,6)})输出什么?()