摘要:
package ant; class Figure { int getArea(int w,int h) { return w+h; }} class Rectangle extends Figure { int getArea(int w,int h) { return w*h; } //求矩形面积方法} class Triangle extends Figure { int getArea(i... 阅读全文
posted @ 2013-03-14 16:00
cursem
阅读(83)
评论(0)
推荐(0)
浙公网安备 33010602011771号