摘要:
package com.homework.zw; //类Cat部分 public class Cat { String name="妮妮"; String skin="灰色"; int age =2; void outputname() { System.out.println("这只猫咪的名字叫:"+name); } v... 阅读全文
摘要:
package com.homework.zw; //类Print部分 public class Print1 { int x; void output() { if(x==1) { for(int i =65;i<=90;i++) { char a =(ch... 阅读全文
摘要:
package com.homework.zw; //print类部分 public class Print { void output() { for(int i =100;i<=999;i++) { if(Math.pow(i/100,3)+Math.pow(i%10,3)+Math.pow(i/10%10, 3)==i... 阅读全文
摘要:
package com.homework.zw; //student类部分 public class Student { int stuNo; String name; int age; void output() { System.out.println("学号:"+stuNo); System.out.println("... 阅读全文