摘要: 1.Account类 2.main 阅读全文
posted @ 2016-05-16 23:06 凌零聆 阅读(6508) 评论(0) 推荐(0) 编辑
摘要: public class Ladder { double shangdi,xiadi,height,area; Ladder(Double shangdi,Double xia,Double gao) { //使用参数来初始化属性 //this代表当前类 this.shangdi=shangdi; xiadi... 阅读全文
posted @ 2016-05-16 22:09 凌零聆 阅读(8918) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Sangeshupaixu { public static void main(String[] args) { System.out.println("请输入x的值:"); Scanner shu1= 阅读全文
posted @ 2016-05-16 14:49 凌零聆 阅读(1895) 评论(0) 推荐(0) 编辑
摘要: package lianxi; import java.util.*; public class Sanweishu { public static void main(String[] args) { String shu = "1234"; int sum = 0; for (int i = 0 阅读全文
posted @ 2016-05-16 14:27 凌零聆 阅读(959) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class XiYouJiRenWu { String Name; double Height; String Weapon; void printName() { System.out.println(Name); } void printWeapon()... 阅读全文
posted @ 2016-05-16 14:04 凌零聆 阅读(770) 评论(0) 推荐(0) 编辑