2011-05-01から1ヶ月間の記事一覧
// 円クラス abstract class Shape{ abstract void Display(); } // 円クラス class Circle extends Shape implements Area{ int x; int y; int r; Circle(int x, int y, int r ){ this.x = x; this.y = y; this.r = r; } void Display(){ System.out.printl…