[说明] 下面程序定义了一个类Shape及其成员函数,然后从类Shape派生出类Point、类Circle、类Cylinder,以及它们的成员函数。 [Java程序] (1) Shape public abstract void printShapeName(); //纯虚函数。 public double area()return 0.0; public double volumn()return 0.0; class Point extends Shape private double x.y; public Point (double a, double b)x=a; y=b; public void setPoint (double a,double b)x=a;y=b; final public double getX() return x; final public double getY()return y; public void printShapeName() (2) ; class Circle extends Point private double radius; public Circle(double r, double a, double b) (3) ; radius=r>0 r:0; public void setRadius (double r) radius=r>0 r:0; public double getRadius () return radius; public double area()return 3.14259 * radius * radius; public void printshapeName () System.out.print ("circle: ") ; ; ; class Cylinder (4) private double height; public Cylinder(double h, double r, double x, double y) super (r, x, y) ; height = h>0 h:0; public void setHeight (double h) height = h>0 h:0; public double area () //计算表面积 return (5) ; public double volumn () double r=super.getRadius () ; return 3.14159 * r * r * height; public void printShapeName () System. out .print ("cylinder: ") ;
查看答案
The role of women in Britain has changed a lot in this century, (51) in the last twenty years. The main change has been (52) giving women greater equality with men. Up to the beginning of this century, women seem to have had (53) rights. They could not vote and were kept at home. (54) , as far as we know, most women were happy with this situation. Today, women in Britain certainly (55) more fights than they used to. They were (56) the vote in 1919. In 1970 a law was passed to give them an equal (57) of wealth in the case of divorce, (58) the Equal Pay Act gave them the right of equal pay with men for work of equal value in the same year. Yet (59) these changes, there are still great difference in status between men and women. Many employers seem to (60) the Equal Pay Act, and the average working women is (61) to earn only about half that a man earns for the same job. (62) a survey, at present, only one-third of the country’s workers are (63) women. This small percentage is partly (64) a shortage of nurseries. If there were (65) nurseries, twice as many women might well go out to work.
A. rate
B. value
C. number
D. share
It is estimated that there were ______ workdays lost each year due to employee depression.
The role of women in Britain has changed a lot in this century, (51) in the last twenty years. The main change has been (52) giving women greater equality with men. Up to the beginning of this century, women seem to have had (53) rights. They could not vote and were kept at home. (54) , as far as we know, most women were happy with this situation. Today, women in Britain certainly (55) more fights than they used to. They were (56) the vote in 1919. In 1970 a law was passed to give them an equal (57) of wealth in the case of divorce, (58) the Equal Pay Act gave them the right of equal pay with men for work of equal value in the same year. Yet (59) these changes, there are still great difference in status between men and women. Many employers seem to (60) the Equal Pay Act, and the average working women is (61) to earn only about half that a man earns for the same job. (62) a survey, at present, only one-third of the country’s workers are (63) women. This small percentage is partly (64) a shortage of nurseries. If there were (65) nurseries, twice as many women might well go out to work.
Apart form
B. According to
C. Because of
D. In addition to
国家保护消费者权益不受侵犯,是《消费者权益保护法》中最核心的原则。( )
A. 对
B. 错