摘要: 1 package cn.xlf.test; 2 3 /** 4 * 测试重载 5 * @author ZBG34854 6 * 7 */ 8 public class TestOverlode { 9 public static void main(String[] args){ 10 MyMath m = new MyMath(); 11 ... 阅读全文
posted @ 2018-02-21 23:09 zbgghost 阅读(123) 评论(0) 推荐(0) 编辑
摘要: package cn.xlf.test; public class Point { double x,y,z; public Point(double _x,double _y,double _z){ x = _x; y = _y; z = _z; } //设置X,Y,Z的值 public void setX(double _x){ x = _x; ... 阅读全文
posted @ 2018-02-21 14:11 zbgghost 阅读(169) 评论(0) 推荐(0) 编辑
摘要: computer方法 主函数 阅读全文
posted @ 2018-02-21 13:32 zbgghost 阅读(209) 评论(0) 推荐(0) 编辑