请教一下JAVA简答题,马上传图片上来

[复制链接]
查看11 | 回复3 | 2011-12-29 22:52:20 | 显示全部楼层 |阅读模式
class Cricle{private int x;private int y;private float r;public void setPoint(int a , int b){this.x = a;this.y = b;}public void setRadius(float r){this.r= r;}public float getArea(){return (float)(Math.PI*r*r);}}import java.util.*;public class Test{public static void main(String...
回复

使用道具 举报

千问 | 2011-12-29 22:52:20 | 显示全部楼层
class Cricle{private int x;private int y;private float radius;//定义设置圆心的方法public void setPoint(int a , int b){this.x = a;this.y = b;}//定义设置圆半径的方法public void setR...
回复

使用道具 举报

千问 | 2011-12-29 22:52:20 | 显示全部楼层
?图片呢?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行