class Point{ int x,y; public Point(int x,int y){ this.x=x; this.y=y; } } class Circle{ Point center=new Point(0,0); …
radius 源代码
RADIUS:RemoteAuthenticationDialInUserService,远程用户拨号认证系统由RFC2865,RFC2866定义,是应用最广泛的AAA协议。AAA是一种管理框架,因此,它可以用多种协议来实现。在实践中,人们最常使用远程访问拨号用户服务(Remot…
interface shape{ double PI=3.14159; abstract double area(); } class Circle implements shape{ double radius; public Circle(do…
class Rectangle{ int width,height; public Rectangle(int w,int h){ width=w; height=h; } } class Circle{ double radi…
// InterfaceDemo4.java //接口shape interface shape{ double PI=3.14159; abstract double area(); } //定义Rectangle类实现接口shape cl…
interface shape{ double PI=3.14159; double area(); double volume(); } interface color{ void setcolor(String str); } …
//circle.java package shape; public class circle extends locate implements shapes{ public double radius; public double area(){…
interface shape2D{ double PI=3.14159; abstract double area(); } interface shape3D extends shape2D{ double volume(); }…
/* modified teams 08/11/09 移动对话框 modified teams 08/11/07 IE下,防止浏览器提示“internet explore 无法打开internet站点 已终止操作” modified teams 08/1…
/** * @author xushun * @author 2007/9/19 * 一个钟表 */ import java.awt.*; import java.awt.event.*; import javax.swing.*…
// polymorphism/PolyConstructors15.java // TIJ4 Chapter Polymorphism, Exercise 15, page 303 // Add a RectangularGlyph to PolyCon…