请完善程序(程序文件名:Java_3.java)并进行调试。请在下画线处填入正确内

题型:填空题

问题:


请完善程序(程序文件名:Java_3.java)并进行调试。请在下画线处填入正确内容,然后删除下画线。请勿删除注释行和其他已有的语句内容。
[题目要求]
在点击“Exit”按钮和窗口右上角的关闭按钮时,可以关闭窗口。
程序运行后的界面如下图所示。


源程序:
import java.awt.*;
import java.awt. (1) .*;
public class Java_3 implements ActionListener, (2) {
  Frame f;
  Button be,bw,bs,bn,bc;
  public void create() {
    f= (3)
    be=new Button("East");
    bw=new Button( (4) );
    bs=new Button("South");
    bn=new Button("North");
    bc=new Button("Exit");
    f.add(be, (5) );
    f.add(bw,"West");
    f.add(bs,"South");
    f.add(bn,"North");
    f.add(be,"Center");
    bc.addActionListener(this); //为按钮注册监听器
    f.addWindowListener(this); //为按钮注册监听器
    f.setSize(200,200);
    f.setVisible( (6) );
  }
  public static void main(String args[]) {
    Java_3 fa=new Java_3();
    fa.create();
  }
  public void actionPerformed(ActionEvent e) {
    System.exit(0); //实现窗口关闭功能
  };
  public void windowOpened(WindowEvent e) {}
  public void windowClosing(WindowEvent e) {
    System.exit(0); //实现窗口关闭功能
  };
  public void windowClosed(WindowEvent e) {}
  public void windowIconified(WindowEvent e) {}
  public void windowDeiconified(WindowEvent e) {}
  public void windowActivated(WindowEvent e) {}
  public void windowDeactivated(WindowEvent e) {}
}


考点:计算机等级考试JAVA二级JAVA机试
题型:填空题

女,40岁,近3个月以来诉胸骨后烧灼感伴疼痛,进食或活动后加重,首先应考虑为()。

A.胃溃疡

B.胃癌

C.反流性食管炎

D.慢性胃炎

E.食管裂孔疝

题型:填空题

国家重点保护的野生药材物种分为

A.一级

B.二级

C.三级

D.四级

E.五级

题型:填空题

中性黏多糖染色阳性的细胞是()

A.甲状腺滤泡上皮细胞、胃黏膜表面上皮细胞和结肠黏膜上皮细胞

B.支气管上皮杯状细胞、角膜和肥大细胞

C.唾液腺黏液细胞和颌下腺的杯状细胞

D.动脉和肺的细胞

E.皮肤和软骨细胞

题型:填空题

Monday’s Supreme Court decision to block a class-action sex-discrimination lawsuit against Wal-Mart was a huge setback for as many as 1.6 million current and former female employees of the world’s largest retailer. But the decision has consequences that range far beyond sex discrimination or the viability of class-action suits.

The underlying issue, which the Supreme Court has now ratified, is Wal-Mart’s authoritarian style, by which executives pressure store-level management to squeeze more and more from millions of clerks, stockers and lower-tier managers.

(41) ______.

In the 1950s and ’60s, northwest Arkansas, where Wal-Mart got its start, was poor, white and rural, in the midst of a wave of agricultural mechanization that generated a huge surplus of unskilled workers. To these men and women, the burgeoning chain of discount stores founded by Sam Walton was a godsend. The men might find dignity managing a store instead of a hardscrabble farm, while their wives and daughters could earn pin money clerking for Mr. Sam. "The enthusiasm of Wal-Mart associates toward their jobs is one of the company’s greatest assets," declared the firm’s 1973 annual report.

(42) ______.

Wal-Mart attorneys have argued, and the Supreme Court agreed this week, that even if sex discrimination was once part of the company’s culture, it is now ancient history: if any store managers are guilty of bias when it comes to promoting women, they are at odds with corporate policy. Wal-Mart is no longer an Ozark company; it is a cosmopolitan, multinational operation.

But that avoids the more essential point, namely that Wal-Mart views low labor costs and a high degree of workplace flexibility as a signal competitive advantage. It is a militantly anti-union company that has been forced to pay hundreds of millions of dollars to current and former employees for violations of state wage and hour laws.

There are tens of thousands of experienced Wal-Mart women who would like to be promoted to the first managerial rung, salaried assistant store manager. (43) ______.

Why Because, for all the change that has swept over the company, at the store level there is still a fair amount of the old communal sociability. Recognizing that workers steeped in that culture make poor candidates for assistant managers, who are the front lines in enforcing labor discipline, Wal-Mart insists that almost all workers promoted to the managerial ranks move to a new store, often hundreds of miles away. (44) ______.

(45) ______. Not unexpectedly, some managers think women with family responsibilities would balk at such demands.

For a time it seemed as if the class-action lawsuit might be a partial substitute for the role of union. By drastically limiting how a class-action suit can be brought, the Supreme Court leaves millions of service-sector workers with few avenues to escape the grinding work life and limited opportunities that so many now face.

[A] But Wal-Mart makes it impossible for many of them to take that post, because its ruthless management style structures the job itself as one that most women, and especially those with young children or a relative to care for, would find difficult to accept.

[B] The obstacles to women’s advancement do not stop there. The workweek for salaried managers is around 50 hours or more, which can surge to 80 or 90 hours a week during holiday seasons.

[C] Indeed. the sex discrimination at Wal-Mart that drove the recent suit is the product not merely of managerial bias and prejudice, but also of a corporate culture and business model that sustains it, rooted in the company’s very beginnings.

[D] Especially in recent years, Wal-Mart’s same-store sales have declined. Workers of both sexes pay the price, but women, who constitute more than 70 percent of hourly employees, pay more.

[E] A patriarchal (男性统治或者主宰的) ethos was written into the Wal-Mart DNA. And that corporate culture was "the single most important element in the continued, remarkable success of Wal-Mart," asserted Don Soderquist, the company’s chief operating officer in the 1990s.

[F] There used to be a remedy for this sort of managerial authoritarianism: it was called a union, which bargained over not only wages and pensions but also the kind of qualitative issues, including promotion and transfer policies.

[G] For middle-aged women caring for families, this corporate reassignment policy amounts to sex discrimination. True, Wal-Mart is hardly alone in demanding that rising managers sacrifice family life, but few companies make relocation such a fixed policy.

42()

题型:填空题

环境管理体系的运行模式与其他管理的运行模式相似,共同遵循PDCA运行模式,没有区别。

更多题库