摘要:
1.Account类 2.main 阅读全文
摘要:
public class Ladder { double shangdi,xiadi,height,area; Ladder(Double shangdi,Double xia,Double gao) { //使用参数来初始化属性 //this代表当前类 this.shangdi=shangdi; xiadi... 阅读全文
摘要:
package lianxi; import java.util.*; public class Sangeshupaixu { public static void main(String[] args) { System.out.println("请输入x的值:"); Scanner shu1= 阅读全文
摘要:
package lianxi; import java.util.*; public class Sanweishu { public static void main(String[] args) { String shu = "1234"; int sum = 0; for (int i = 0 阅读全文
摘要:
package lianxi; public class XiYouJiRenWu { String Name; double Height; String Weapon; void printName() { System.out.println(Name); } void printWeapon()... 阅读全文