上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
摘要: 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 削肾客 阅读(1647) 评论(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 削肾客 阅读(563) 评论(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 削肾客 阅读(3651) 评论(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 削肾客 阅读(3798) 评论(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 削肾客 阅读(811) 评论(0) 推荐(0) 编辑
摘要: Clock package com.hanqi.test; public class Clock { int hour,minute,second; Clock(int h,int m,int s) { hour=h;minute=m;second=s; } void Show() { System 阅读全文
posted @ 2016-09-18 21:10 削肾客 阅读(5105) 评论(0) 推荐(0) 编辑
摘要: Account package com.hanqi.test; public class Account { private String zhanghao;private double yve; Account (String z,double c) { zhanghao=z; yve+=c; } 阅读全文
posted @ 2016-09-18 21:07 削肾客 阅读(5135) 评论(0) 推荐(0) 编辑
摘要: XiYouJiRenWu package com.hanqi.test; public class XiYouJiRenWu { String height,name,weapon; XiYouJiRenWu(String h,String n,String w) { height=h; name= 阅读全文
posted @ 2016-09-18 21:06 削肾客 阅读(1953) 评论(0) 推荐(0) 编辑
摘要: Ladder package com.hanqi.test; public class Ladder { //属性 double shangdi,xiadi,gao,mianji; //构造方法 Ladder(double sd,double xd,double g) { shangdi=sd; x 阅读全文
posted @ 2016-09-18 20:54 削肾客 阅读(3268) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页