摘要:
package com.hanqi.test; public class ChongZai { void print() { System.out.println("无参数"); } void print(double a) { System.out.println(a); } void print 阅读全文
posted @ 2016-09-20 11:52
削肾客
阅读(1670)
评论(0)
推荐(0)
摘要:
package com.hanqi.test; public class Point { private double x,y; public double getX() { return x; } public void setX(double x) { this.x = x; } public 阅读全文
posted @ 2016-09-20 11:23
削肾客
阅读(583)
评论(0)
推荐(0)
摘要:
package com.hanqi.test; public class Car { private String carNo; private int speed; private double support; public Car() { carNo="XX1234"; speed=100; 阅读全文
posted @ 2016-09-20 09:59
削肾客
阅读(3677)
评论(0)
推荐(0)
摘要:
package com.hanqi.test; public class People { private String name,sex; private int age; private double height; public People(String n,String s,int a,d 阅读全文
posted @ 2016-09-20 09:57
削肾客
阅读(3855)
评论(4)
推荐(0)
摘要:
package com.hanqi.test; public class Triangle { private double a,b,c; public Triangle(double d,double f,double g) { if(d+f g&d+g f&f+g d) { a=d; b=f; 阅读全文
posted @ 2016-09-20 09:53
削肾客
阅读(822)
评论(0)
推荐(0)

浙公网安备 33010602011771号