题目内容

请完成下列Java程序。实例listener是监听器,frm是事件源,fr上发生的事件委托tat进行处理。程序的执行结果是显示一个蓝色的窗口,单击关闭按钮,可关闭窗口。 注意:请勿改动main()主方法和其他已有的语句内容,仅在下划线处填入适当的语句。 源程序文件代码清单如下: import java.awt.*; import java.awt.event.*; public class BlueWindow public static void main(String args[]) Frame frm=new Frame ("欢迎参加Java考试!"); TheAdapterTest listener=new TheAdapterTest(); frm. ______; frm.setSize(200,200); frm.setBackground(Color.blue); frm. ______; class TheAdapterTest extends WindowAdapter public void windowClosing(WindowEvent e) System.exit(1);

查看答案
更多问题

24()

A. silly
B. nervous
C. calm
D. sad

According to the text, to be "thrown clear" of a serious accident is very dangerous because you()

A. may be knocked down by other cars
B. may get seriously hurt being thrown out of the car
C. may find it impossible to get away from the seat
D. may get caught in the car door

The move to self-service has meant that in many shops, fewer tasks are now performed by store assistants.Typical tasks which remain are making sure that shelves and counters are fully (19) taking the customer’s payment, and (20) the purchases.However, in some shops, the more traditional selling skills are still important.In larger stores, it is normal for a range of (21) to be rotated among staff, giving greater work variety.Every customer has different (22) and different reasons for coming into the store.Some know (23) what they want, ask for it and buy it.Many, however,are not sure, and if they are not (24) correctly they may go somewhere else to buy.The store assistant must (25) when and how to offer help, and gain the customer’s confidence with the (26) amount of questioning about what they are looking for.They can then give information and advice about the products which might (27) the customer’s requirements.This demands both communication skills and knowledge of the product.Finally, they have to persuade the customer to make the (28) to buy, and " close the deal " If the customer is just (29) the store assistant needs to offer efficient and friendly service, hoping that the customer will return when he or she is ready to buy.It is worth remembering that many stores depend on their (30) customers for a large part of their (31) .The actual tasks of a store assistant vary with the type of goods sold.In a men’s outfitters these could include (32) a customer for a suit.In an electronics store,it is vital to be able to (33) how a computer or hi-fi unit works and to ensure that the customer has any accessories they might need. 27()

A. balance
B. suit
C. equal
D. reach

34.company has been approached to buy U. K. media assets, Reuters reports.35.Robert lger, Disney’s president, who made the announcement to a36.London audience at the Royal Television Society’s conference.37.Pixar/Disney feature films include Finding Nemo , Toy Story, and Monsters Inc.38.Media giant Walt Disney Co. operates Walt Disney Parks & Resorts: then39.owns ABC television network, with 10 broadcast stations and more40.than 60 radio stations: and produces films through by Walt Disney Studios.41.lger also said the company at one time it had been approached to buy42.ITV, a U.K.television channel as along with some assets of the BBO, the report stated.43.Steve Jobs, the head of Pixar Animation Studios Inc., who said in June44.he would consider of a new distribution deal with Disney. At the time, no talks were under way.45.Disney and Pixar, who have released five films together, called off for previous talks in January to renew their distribution deal.The companies’ last film together, The Cars, is slated for release in 2005. 36()

答案查题题库