10 2017 档案
常规写法实现手拉手遇三退一的游戏,可以和面向对象思想进行比较着看
摘要:public class Count3Quit { public static void main(String[] args) { int[] a = new int[500]; // 500人的环 for(int i=0; i<a.length; i++) { a[i] = 1; } int l
阅读全文
用面向对象的思维实现回环列表,,一个手拉手的小游戏
摘要:public class Count3Quit2 { public static void main(String[] args) { KidCircle kc = new KidCircle(500); int countNum = 0; Kid k = kc.first; while(kc.co
阅读全文
浙公网安备 33010602011771号